json_dumps()

def json_dumps(value, is_pretty) -> string

Dump a JSON object to a string

Args

  • value: dict: The JSON object to dump
  • is_pretty: bool: Whether to pretty print the JSON

Returns

The JSON string

json_is_string_json()

def json_is_string_json(value) -> bool

Check if a string is a JSON object

Args

  • value: string: The string to check

Returns

True if the string is a JSON object, False otherwise

json_loads()

def json_loads(value) -> dict

Load a JSON string

Args

  • value: string: The JSON string to load

Returns

The parsed JSON object