view Resources/CodeGeneration/testCppHandler/test_data/test_Message2.json @ 1322:0da659f8579c broker

Object reference 1st commit + indent change
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 23 Mar 2020 13:52:27 +0100
parents 342f3e04bfa9
children
line wrap: on
line source

{
  "type": "TestStoneCodeGen.Message2",
  "value": {
    "memberVectorOfMessage1": [
      {
        "memberInt32": 42,
        "memberString": "Benjamin",
        "memberEnumMonth": "January",
        "memberBool": false,
        "memberFloat32": 0.1,
        "memberFloat64": -0.2
      },
      {
        "memberInt32": 43,
        "memberString": "Sandrine",
        "memberEnumMonth": "March"
      }
    ],
    "memberVectorOfString": [
      "Mercadet",
      "Poisson"
    ],
    "memberMapStringString": {
      "44": "key 44",
      "45": "key 45"
    },
    "memberMapStringStruct": {
      "54": {
        "memberInt32": 43,
        "memberString": "Sandrine",
        "memberEnumMonth": "March"
      },
      "55": {
        "memberInt32": 42,
        "memberString": "Benjamin",
        "memberEnumMonth": "January",
        "memberBool": false
      }
    },
    "memberString": "Prout zizi",
    "memberMapEnumFloat" : {
      "SaltAndPepper" : 0.1,
      "CreamAndChives" : -0.2
    },
    "memberJson" : {"custom-key": "custom-value"}
  }
}