Mercurial > hg > orthanc-stone
view Resources/CodeGeneration/test/test1_bogus_json.jsonc @ 482:f58fe38c8c04 bgo-commands-codegen
Ongoing work on codegen: ts and cpp enum and struct writing seem to be OK. No file write yet
author | bgo-osimis |
---|---|
date | Thu, 14 Feb 2019 20:58:42 +0100 |
parents | 628941d63b8c |
children |
line wrap: on
line source
{ "root_name":"test1", "types": [ { "name":"B", "kind":"struct", "fields": [ { "name":"someAs", "type":"vector<A>" }}, { "name":"someInts", "type":"vector<int32>" } ] }, { "name":"A", "kind":"struct", "fields": [ { "name":"someStrings", "type":"vector<string>" }, { "name":"someInts2", "type":"vector<int32>" } ] }, { "name":"MovieType", "kind":"enum", "fields": [ { "name":"Romcom", }, { "name":"Horror", }, { "name":"ScienceFiction", }, { "name":"Vegetables", } } ] } /* 1 2 3 4 5 6 7 12345678901234567890123456789012345678901234567890123456789012345678901234567890 */