Allow structs to be parsed in JSON with out of order fields.
Also simplified the code and made it faster. Change-Id: I1d83b1165a4a9a4380d1bfb5538769c012d2d367 Tested: on Linux.
Showing
- include/flatbuffers/idl.h 3 additions, 6 deletionsinclude/flatbuffers/idl.h
- src/idl_parser.cpp 33 additions, 38 deletionssrc/idl_parser.cpp
- tests/MyGame/Example/Monster.cs 1 addition, 0 deletionstests/MyGame/Example/Monster.cs
- tests/MyGame/Example/Monster.go 1 addition, 0 deletionstests/MyGame/Example/Monster.go
- tests/MyGame/Example/Monster.java 3 additions, 0 deletionstests/MyGame/Example/Monster.java
- tests/MyGame/Example/Monster.py 1 addition, 0 deletionstests/MyGame/Example/Monster.py
- tests/monster_test_generated.h 1 addition, 0 deletionstests/monster_test_generated.h
- tests/monsterdata_test.json 2 additions, 2 deletionstests/monsterdata_test.json
- tests/monsterdata_test.mon 0 additions, 0 deletionstests/monsterdata_test.mon
- tests/test.cpp 1 addition, 1 deletiontests/test.cpp
Loading
Please register or sign in to comment