view Resources/CodeGeneration/README.md @ 493:6fbf2eae7c88 bgo-commands-codegen

All unit tests pass for generation, including handler and dispatcher
author bgo-osimis
date Fri, 22 Feb 2019 10:48:43 +0100
parents f6b7f113cf27
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