mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 12:08:06 +00:00
support json serialization
This commit is contained in:
@@ -50,6 +50,9 @@ public struct Attacker : IFlatbufferObject
|
||||
|
||||
public class AttackerT
|
||||
{
|
||||
#if ENABLE_JSON_SERIALIZATION
|
||||
[Newtonsoft.Json.JsonProperty("sword_attack_damage")]
|
||||
#endif
|
||||
public int SwordAttackDamage { get; set; }
|
||||
|
||||
public AttackerT() {
|
||||
|
||||
Reference in New Issue
Block a user