Serialization and deserialization without blowing React
Let’s say you have a string
source of data. You need to read and write from it. You don’t really have much to do with string
so you’d deserialize it and use JSON.parse(…)
and when you need to serialize it again, you’d use JSON.stringify(…)
. […]