json_dumps()
def json_dumps(value, is_pretty)
Dump a JSON object to a string
Args
value
-dict
The JSON object to dumpis_pretty
-bool
Whether to pretty print the JSON
Returns
str
The JSON string
json_is_string_json()
def json_is_string_json(value)
Check if a string is a JSON object
Args
value
-str
The string to check
Returns
bool
True if the string is a JSON object, False otherwise
json_loads()
def json_loads(value)
Load a JSON string
Args
value
-str
The JSON string to load
Returns
dict
The parsed JSON object