view Resources/CodeGeneration/testCppHandler/test_data/test_Message2.json @ 519:17106b29ed6d bgo-commands-codegen

Changed the metadata system for structs. A __handler entry is now required (with "cpp", "ts" or both: ["cpp","ts"]). Changed the enumerations to string-based values. Adapted the integrated wasm test.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 12 Mar 2019 13:11:18 +0100
parents 6405435480ae
children 0d42bda615a8
line wrap: on
line source

{
  "type": "VsolMessages.Message2",
  "value": {
    "tata": [
      {
        "a": 42,
        "b": "Benjamin",
        "c": 0,
        "d": false
      },
      {
        "a": 43,
        "b": "Sandrine",
        "c": 2
      }
    ],
    "tutu": [
      "Mercadet",
      "Poisson"
    ],
    "titi": {
      "44": "key 44",
      "45": "key 45"
    },
    "lulu": {
      "54": {
        "a": 43,
        "b": "Sandrine",
        "c": 2
      },
      "55": {
        "a": 42,
        "b": "Benjamin",
        "c": 0,
        "d": false
      }
    },
    "toto": "Prout zizi"
  }
}