Mercurial > hg > orthanc-stone
comparison Resources/CodeGeneration/README.md @ 489:f6b7f113cf27 bgo-commands-codegen
Ongoing work on code generation
author | bgo-osimis |
---|---|
date | Mon, 18 Feb 2019 07:46:59 +0100 |
parents | |
children | fc17251477d6 |
comparison
equal
deleted
inserted
replaced
486:8e40355a172b | 489:f6b7f113cf27 |
---|---|
1 class TestMessage { | |
2 s1: string; | |
3 s2: Array<string>; | |
4 s3: Array<Array<string>>; | |
5 s4: Map<string, number>; | |
6 s5: Map<number, Array<string>>; | |
7 s6: Color; | |
8 s7: boolean; | |
9 } | |
10 | |
11 --> | |
12 | |
13 {"s2":["toto","toto2","toto3"],"s4":{"toto":1999,"tatata":1999},"s6":0,"s7":true} | |
14 | |
15 (absent fields weren't specified) | |
16 | |
17 | |
18 type:B | |
19 value:{"someAs":[{...},{},{}]}......................... | |
20 Deserialize | |
21 | |
22 jsonValue | |
23 | |
24 |