- Home /
Question by
jstrawn · Jan 12, 2016 at 08:47 AM ·
c#serialization
prevent field json serialization in 5.3
The new Json serializer in Unity 5.3 is amazing. But I want to prevent a specific field from being serialized into json.
I understand I can use [NonSerialized] for that, but the problem is I still want it to be saved in my Unity scene - just not serialized in Json. And If i use [NonSerialized], it's not longer serialized/saved in my Unity scene. Can this be done? Thank you.
Comment