Skip to main content

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.

Example

decodeJson('{"name":"John","age":30}')
Returns a dictionary: {"name": "John", "age": 30}.
I