|
string | makeFormattedJSONString (auto data, *string encoding) |
| Serializes qore data into a JSON string, formatted with line breaks for easier readability.
|
string | makeJSONString (auto data, *string encoding) |
| Serializes qore data into a JSON string, without any line breaks.
|
string | make_json (auto data, *int format, *string encoding) |
| Serializes qore data into a JSON string with optional whitespace formatting (line breaks and indentation)
|
nothing | parseJSON () |
| This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters.
|
auto | parseJSON (string json_str) |
| Parses a JSON string and returns the corresponding Qore data structure.
|
auto | parse_json (string json_str) |
| Parses a JSON string and returns the corresponding Qore data structure.
|
string | makeFormattedJSONRPC11ErrorString (softint code, string error, auto id, auto error_msg) |
| Creates a JSON-RPC 1.1 error response string from the parameters passed, formatted with line breaks for easier readability.
|
string | makeFormattedJSONRPCErrorString (auto version, auto id, auto error_msg) |
| Creates a generic JSON-RPC error response string from the parameters passed, formatted with line breaks for easier readability.
|
string | makeFormattedJSONRPCRequestString (string method_name, auto version, auto id, auto request_msg) |
| Creates a JSON-RPC request string from the parameters passed, formatted with line breaks for easier readability.
|
string | makeFormattedJSONRPCResponseString (auto version, auto id, auto response_msg) |
| Creates a JSON-RPC response string from the parameters passed, formatted with line breaks for easier readability.
|
string | makeJSONRPC11ErrorString (softint code, string error, auto id, auto error_msg) |
| Creates a JSON-RPC 1.1 error response string from the parameters passed, without any line breaks.
|
string | makeJSONRPCErrorString (auto version, auto id, auto error_msg) |
| Creates a generic JSON-RPC error response string from the parameters passed, without any line breaks.
|
string | makeJSONRPCRequestString (string method_name, auto version, auto id, auto request_msg) |
| Creates a JSON-RPC request string from the parameters passed, without any line breaks.
|
string | makeJSONRPCResponseString (auto version, auto id, auto response_msg) |
| Creates a JSON-RPC response string from the parameters passed, without any line breaks.
|
string | make_jsonrpc11_error (softint code, string error, auto id, auto error_msg, *int format) |
| Creates a JSON-RPC 1.1 error response string from the parameters passed, without any line breaks.
|
string | make_jsonrpc_error (auto version, auto id, auto error_msg, *int format) |
| Creates a generic JSON-RPC error response string from the parameters passed, without any line breaks.
|
string | make_jsonrpc_request (string method_name, auto version, auto id, auto request_msg, *int format) |
| Creates a JSON-RPC request string from the parameters passed, without any line breaks.
|
string | make_jsonrpc_response (auto version, auto id, auto response_msg, *int format) |
| Creates a JSON-RPC response string from the parameters passed, without any line breaks.
|