forked from BigfootDev/flatbuffers
support json serialization
This commit is contained in:
@@ -39,6 +39,9 @@ public struct BookReader : IFlatbufferObject
|
||||
|
||||
public class BookReaderT
|
||||
{
|
||||
#if ENABLE_JSON_SERIALIZATION
|
||||
[Newtonsoft.Json.JsonProperty("books_read")]
|
||||
#endif
|
||||
public int BooksRead { get; set; }
|
||||
|
||||
public BookReaderT() {
|
||||
|
||||
Reference in New Issue
Block a user