view Resources/CodeGeneration/test_data/test1_bogus_schema.jsonc @ 1295:2791e0566a0d rtviewer19branch

Close branch rtviewer19branch.
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 21 Feb 2020 15:09:35 +0000
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",
      "kiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiind":"struct",
      "fields": [
        {
          "name":"someStrings",
          "type":"vector<string>"
        },
        {
          "name":"someInts2",
          "type":"vector<int32>"
        }
      ]
    },
    {
      "name":"MovieType",
      "kind":"enum",
      "fields": [
        {
          "naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame":"Romcom"
        },
        {
          "name":"Horror"
        },
        {
          "name":"ScienceFiction"
        },
        {
          "name":"Vegetables"
        }
      ]
    }
  ]
}

/*
         1         2         3         4         5         6         7
12345678901234567890123456789012345678901234567890123456789012345678901234567890
*/