diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/CodeGeneration/README.md	Mon Feb 18 07:46:59 2019 +0100
@@ -0,0 +1,24 @@
+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
+
+