STRING_TO_JSON
Description
Example
STRING_TO_JSON('{"key1": "value1", "key2": "value2"}')Example with a list
STRING_TO_JSON('[{"key1": "value1", "key2": "value2"}]')Last updated
Was this helpful?
STRING_TO_JSON parses a JSON-encoded string and returns the corresponding dictionary or list. This is useful when a field stores structured data as a raw JSON string.
STRING_TO_JSON('{"key1": "value1", "key2": "value2"}')This returns the dictionary {"key1": "value1", "key2": "value2"}.
STRING_TO_JSON('[{"key1": "value1", "key2": "value2"}]')This returns a list containing one dictionary.
Last updated
Was this helpful?
Was this helpful?
