Web Analytics

Python json.loads() Method

JSON Parse

The json.loads() method is used to parse a JSON string and result is a Python dictionary.

Syntax

json.loads(string)

Parameters

Parameter Description
string Required. A valid JSON string.

Return Value

A Python dictionary.

Example

Using the json.loads() method:

Output
Click Run to execute your code

Related Functions