...

Text file src/github.com/google/flatbuffers/tests/monsterdata_test.json

Documentation: github.com/google/flatbuffers/tests

     1{
     2  pos: {
     3    x: 1,
     4    y: "2",
     5    z: 3,
     6    test1: 3,
     7    test2: "Green",
     8    test3: {
     9      a: 5,
    10      b: 6
    11    }
    12  },
    13  hp: 80,
    14  name: "MyMonster",
    15  inventory: [
    16    0,
    17    1,
    18    2,
    19    3,
    20    4
    21  ],
    22  vector_of_longs: [
    23    1,
    24    100,
    25    10000,
    26    1000000,
    27    100000000
    28  ],
    29  vector_of_doubles: [
    30    -1.7976931348623157e+308,
    31    0,
    32    1.7976931348623157e+308
    33  ],
    34  test_type: "Monster",
    35  test: {
    36    name: "Fred",
    37    pos: null
    38  },
    39  test4: [
    40    {
    41      a: 10,
    42      b: 20
    43    },
    44    {
    45      b: "40",
    46      a: 30
    47    }
    48  ],
    49  test5: [
    50    {
    51      a: 10,
    52      b: 20
    53    },
    54    {
    55      b: "40",
    56      a: 30
    57    }
    58  ],
    59  testarrayofstring: [
    60    "test1",
    61    "test2"
    62  ],
    63  enemy: {
    64    name: "Fred"
    65  },
    66  testarrayofbools: [
    67    true,
    68    false,
    69    true
    70  ],
    71  testbool: true,
    72  testhashs32_fnv1: "This string is being hashed!",
    73  testhashu32_fnv1: "This string is being hashed!",
    74  testhashs64_fnv1: "This string is being hashed!",
    75  testhashu64_fnv1: "This string is being hashed!",
    76  testhashs32_fnv1a: "This string is being hashed!",
    77  testhashu32_fnv1a: "This string is being hashed!",
    78  testhashs64_fnv1a: "This string is being hashed!",
    79  testhashu64_fnv1a: "This string is being hashed!",
    80  testarrayofsortedstruct: [
    81    {id: 5,distance: 12
    82    },
    83    {id: 1,distance: 21
    84    },
    85    {id: 0,distance: 45
    86    }
    87  ],
    88  scalar_key_sorted_tables: [
    89    {id: "hit",val: 10,count: 1
    90    },
    91    {id: "miss",val: 0,count: 0
    92    }
    93  ],
    94  native_inline: {
    95    a: 1,
    96    b: 2
    97  }
    98}

View as plain text