support json serialization

This commit is contained in:
mugisoba
2020-02-04 00:49:17 +09:00
parent 6400c9b054
commit e8b7292dd1
33 changed files with 887 additions and 5 deletions

View File

@@ -60,7 +60,13 @@ public struct TableInC : IFlatbufferObject
public class TableInCT
{
#if ENABLE_JSON_SERIALIZATION
[Newtonsoft.Json.JsonProperty("refer_to_a1")]
#endif
public NamespaceA.TableInFirstNST ReferToA1 { get; set; }
#if ENABLE_JSON_SERIALIZATION
[Newtonsoft.Json.JsonProperty("refer_to_a2")]
#endif
public NamespaceA.SecondTableInAT ReferToA2 { get; set; }
public TableInCT() {