JSON Command Chipset

View source code here: GitHub

utils.json.dumps

Dumps an object to a JSON string.

Request Parameters

FieldTypeDescription
objtyping.AnyNo description

Response

FieldTypeDescription
statustyping.Literal['OK', 'ERROR']Status of the request.
resulttyping.Optional[str]The result of the json dumps (if successful).
error_messagetyping.Optional[str]Error message if the command failed.

utils.json.loads

Loads a JSON string to an object.

Request Parameters

FieldTypeDescription
stringNo description

Response

FieldTypeDescription
statustyping.Literal['OK', 'ERROR']Status of the request.
resulttyping.Optional[typing.Any]The result of the json loads (if successful).
error_messagetyping.Optional[str]Error message if the command failed.

© 2025 South Patron LLC. All rights reserved.

AI everywhere.