forked from BigfootDev/flatbuffers
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