view Resources/CodeGeneration/test_data/test1_bogus_json.jsonc @ 682:e8b83fe55a33 am-dev

added support for float + map<TK, TV> instead of only map<string, T>
author Alain Mazy <alain@mazy.be>
date Thu, 16 May 2019 15:04:41 +0200
parents 6470248790db
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
*/