JSON Parser allows union type fields to come after unions.
This is useful because many JSON generators will sort the fields, cause X_type to follow X. Change-Id: I00ef3ac05418224fc05aee93e6b3b3597e73ffe3 Tested: on Linux. Bug: 29221752
Showing
- include/flatbuffers/idl.h 18 additions, 10 deletionsinclude/flatbuffers/idl.h
- include/flatbuffers/reflection.h 3 additions, 1 deletioninclude/flatbuffers/reflection.h
- src/idl_gen_cpp.cpp 6 additions, 6 deletionssrc/idl_gen_cpp.cpp
- src/idl_parser.cpp 41 additions, 12 deletionssrc/idl_parser.cpp
- tests/test.cpp 12 additions, 1 deletiontests/test.cpp
Loading
Please register or sign in to comment