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:
Adam Oleksy
2023-04-26 07:37:06 +02:00
committed by GitHub
parent d6d83c3a92
commit ab716ee41d
4 changed files with 37 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ void JsonEnumsTest(const std::string& tests_data_path);
void JsonOptionalTest(const std::string& tests_data_path, bool default_scalars);
void ParseIncorrectMonsterJsonTest(const std::string& tests_data_path);
void JsonUnsortedArrayTest();
void JsonUnionStructTest();
} // namespace tests
} // namespace flatbuffers