Forums › 💬 NodeCanvas › ⚙️ Support › strongly recommended to improve the efficiency of deserialization › Reply To: strongly recommended to improve the efficiency of deserialization
I posted about my solution here (did this back in v.2.1)
http://nodecanvas.com/forums/topic/optimizations-2/
Essentially I end up caching off the parsed JSON data.
JSONSerializer:
Then Deserialized calls look like this, which saves the parsed json, and also passes it in for additional calls to deserialize:
Graph.cs:
There maybe a better way to do this with newer versions.