Converting JSON to String
Convert JSON to a String
To convert a JSON object to a string, use the following syntax:
get the json
get the json as a string
Convert a String to JSON
To convert a string to a JSON object, use the following syntax:
get the string
get the string as json
the string is '{"name":"John", "age":30, "city":"New York"}'
get the string as json
Last updated
Was this helpful?