Jsondecodeerror error: json.decoder.JSONDecodeError: Expecting value: line 1 column 26 (char 25)

json.decoder.JSONDecodeError: Expecting value: line 1 column 26 (char 25)

Cause: JSON format conversion error, not standard JSON format


Note:
(1) the parentheses indicate the object. The object must be composed of attributes, which are composed of key value pairs

(2) Use double quotation marks for attribute values in JSON

(3) If the attribute value in JSON is a logical value or null value, it must be lowercase, false, true and null
① true in JSON, true in Python
② false in JSON, false in Python
③ null in JSON and none in Python

(4) Conversion between JSON data type and Dictionary (pre operation pilot library → import JSON):
① convert JSON to dictionary → JSON. Loads()
② convert dictionary to JSON → JSON. Dumps()

Read More: