You have received an API response of a JSON string instead of a JSON object and would like to convert it to a JSON object.
Parse Text Data into JSON.
String Contents
String to convert.
You can utilize the Is JSON transform to test whether the string is valid JSON prior to parsing it with this transform.
Inputs:
String Contents:
{"id":"676e061a-8004-4f60-ad37-cb0b2be25635","user":"Sean","age":32,"bio":"Hi, my name is Sean.\nI love hiking."}
Result of Example:
Last updated 4 months ago
Was this helpful?
{ "id": "676e061a-8004-4f60-ad37-cb0b2be25635", "user": "Sean", "age": 32, "bio": "Hi, my name is Sean.\nI love hiking." }