View source code here: GitHub
Dumps an object to a JSON string.
| Field | Type | Description |
|---|---|---|
| obj | typing.Any | No description |
| Field | Type | Description |
|---|---|---|
| status | typing.Literal['OK', 'ERROR'] | Status of the request. |
| result | typing.Optional[str] | The result of the json dumps (if successful). |
| error_message | typing.Optional[str] | Error message if the command failed. |
Loads a JSON string to an object.
| Field | Type | Description |
|---|---|---|
| string | No description |
| Field | Type | Description |
|---|---|---|
| status | typing.Literal['OK', 'ERROR'] | Status of the request. |
| result | typing.Optional[typing.Any] | The result of the json loads (if successful). |
| error_message | typing.Optional[str] | Error message if the command failed. |
© 2025 South Patron LLC. All rights reserved.
AI everywhere.