XNode is just ScriptableObjects, so you use Unity'sJsonUtility.ToJson(someGraphAsset). It's not super feature-rich and might not help you a ton since Unity just serializes the instance ID of serialized UnityEngine.Object so the linking of nodes might be hard.
XNode is just ScriptableObjects, so you use Unity's
JsonUtility.ToJson(someGraphAsset)
. It's not super feature-rich and might not help you a ton since Unity just serializes the instance ID of serializedUnityEngine.Object
so the linking of nodes might be hard.What's your use case?