Files
flatbuffers-bigfoot/tests/json_test.h
Adam Oleksy ab716ee41d 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>
2023-04-26 05:37:06 +00:00

20 lines
499 B
C++

#ifndef TESTS_JSON_TEST_H
#define TESTS_JSON_TEST_H
#include <string>
namespace flatbuffers {
namespace tests {
void JsonDefaultTest(const std::string& tests_data_path);
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
#endif