The command json.getelement is used to read the contents of a JSON file by passing the desired field as a parameter.
In the example above, the function fn_json_new_string is responsible for storing JSON content in memory.
The function fn_json_save_message opens the JSON file and write all data. If the file does not exist, it will be created automatically.
After finishing the process, the function fn_json_print_str will read the selected fields and print them on the pattern you want.