ToJson and FromJson

Refer to the following example code to see how to load from json and save to json file.