mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 04:58:57 +00:00
Make JSON supporting advanced union features (#7869)
This change allows user to decode binary with given schema to JSON representation when schema defines union with struct. Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -1557,6 +1557,7 @@ int FlatBufferTests(const std::string &tests_data_path) {
|
||||
ParseIncorrectMonsterJsonTest(tests_data_path);
|
||||
FixedLengthArraySpanTest(tests_data_path);
|
||||
DoNotRequireEofTest(tests_data_path);
|
||||
JsonUnionStructTest();
|
||||
#else
|
||||
// Guard against -Wunused-parameter.
|
||||
(void)tests_data_path;
|
||||
|
||||
Reference in New Issue
Block a user