mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 16:57:29 +00:00
support json serialization
This commit is contained in:
@@ -53,6 +53,9 @@ internal partial struct TestSimpleTableWithEnum : IFlatbufferObject
|
||||
|
||||
internal partial class TestSimpleTableWithEnumT
|
||||
{
|
||||
#if ENABLE_JSON_SERIALIZATION
|
||||
[Newtonsoft.Json.JsonProperty("color")]
|
||||
#endif
|
||||
public MyGame.Example.Color Color { get; set; }
|
||||
|
||||
public TestSimpleTableWithEnumT() {
|
||||
|
||||
Reference in New Issue
Block a user