Skip to main content

Decode JSON

An expression editor function that converts JSON strings back to usable data structures.

Updated yesterday

Overview

This function converts a JSON string back to a usable data structure, such as a dictionary or array.


Parameters

decodeJson(string)

String

The JSON string to decode.


For example...

decodeJson('{"name":"John","age":30}')

Returns a dictionary: {"name": "John", "age": 30}.

Did this answer your question?