view 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
line wrap: on
line source

class TestMessage {
    s1: string;
    s2: Array<string>;
    s3: Array<Array<string>>;
    s4: Map<string, number>;
    s5: Map<number, Array<string>>;
    s6: Color;
    s7: boolean;
}

-->

{"s2":["toto","toto2","toto3"],"s4":{"toto":1999,"tatata":1999},"s6":0,"s7":true}

(absent fields weren't specified)


type:B
value:{"someAs":[{...},{},{}]}.........................
Deserialize

jsonValue