mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 21:28:52 +00:00
[C#] support Json Serialization (#5752)
* support json serialization
* fix invalid json format.
* string must be written with double quotes.
* remove commma after the last object member.
* fix indent
* Revert "fix invalid json format."
This reverts commit d6820ed50c.
* quated string value.
* add cs-gen-json-serializer flag.
* fix preprocessor indent
* ENABLE_JSON_SERIALIZATION -> ENABLE_JSON_SERIALIZATION_TEST
* share TestBuffer method
* remove ENABLE_JSON_SERIALIZATION
* remove duplicated test data
* [windows] add nuget restore and copy test data.
* [docker mono] share msbuild settings with windows. add nuget restore and copy test data.
* add some note for json api.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
y: "2",
|
||||
z: 3,
|
||||
test1: 3,
|
||||
test2: Green,
|
||||
test2: "Green",
|
||||
test3: {
|
||||
a: 5,
|
||||
b: 6
|
||||
@@ -31,7 +31,7 @@
|
||||
0,
|
||||
1.7976931348623157e+308
|
||||
],
|
||||
test_type: Monster,
|
||||
test_type: "Monster",
|
||||
test: {
|
||||
name: "Fred",
|
||||
pos: null
|
||||
|
||||
Reference in New Issue
Block a user