Below, you will find the video link of a demo about these activities to understand them in a better manner. We will first create a sample JSON file within Genie Studio. Next, we will read the JSON file which will then be assigned to a string variable. We will convert the string variable to a JSON object using the JSON deserialize activity. Then, we can display the values of the different properties available in the JSON file in a message box.
We will create a sample JSON using the JSON creator activity. We will replace the value of a particular property with a variable. Then, we will use the JSON serialize activity to convert it from JSON object to a String variable. Finally, we will write the String variable to a text file.
|“Read Text File, JSON Deserialize, JSON Creator, JSON Serialize, Write Text File, Message Box”