|
Adaptive Framework
0.9.0
|
Header file for Adaptive Framework JSON. More...
#include "afw_minimal.h"Go to the source code of this file.
Macros | |
| #define | AFW_JSON_Q_CONTENT_TYPE "application/json" |
| #define | AFW_JSON_S_CONTENT_TYPE afw_s_a_application_json |
| #define | AFW_JSON_Q_CONTENT_TYPE_SHORT "json" |
| #define | AFW_JSON_S_CONTENT_TYPE_SHORT afw_s_json |
| #define | AFW_JSON_PN_JSON_PRIMITIVE AFW_Q_jsonPrimitive |
| #define | AFW_JSON_PN_s_JSON_PRIMITIVE afw_s_jsonPrimitive |
| #define | AFW_JSON_Q_PRIMITIVE_OBJECT AFW_Q_object |
| #define | AFW_JSON_S_PRIMITIVE_OBJECT afw_s_object |
| #define | AFW_JSON_Q_PRIMITIVE_ARRAY AFW_Q_array |
| #define | AFW_JSON_S_PRIMITIVE_ARRAY afw_s_array |
| #define | AFW_JSON_Q_PRIMITIVE_NUMBER AFW_Q_number |
| #define | AFW_JSON_S_PRIMITIVE_NUMBER afw_s_number |
| #define | AFW_JSON_Q_PRIMITIVE_STRING AFW_Q_string |
| #define | AFW_JSON_S_PRIMITIVE_STRING afw_s_string |
| #define | AFW_JSON_Q_PRIMITIVE_BOOLEAN AFW_Q_boolean |
| #define | AFW_JSON_S_PRIMITIVE_BOOLEAN afw_s_boolean |
| #define | AFW_JSON_Q_PRIMITIVE_NULL AFW_Q_null |
| #define | AFW_JSON_S_PRIMITIVE_NULL afw_s_null |
| #define | AFW_JSON_Q_PRIMITIVE_BOOLEAN_TRUE AFW_Q_true |
| #define | AFW_JSON_S_PRIMITIVE_BOOLEAN_TRUE afw_s_true |
| #define | AFW_JSON_Q_PRIMITIVE_BOOLEAN_FALSE AFW_Q_false |
| #define | AFW_JSON_S_PRIMITIVE_BOOLEAN_FALSE afw_s_false |
| #define | AFW_JSON_Q_INFINITY "Infinity" |
| #define | AFW_JSON_Q_MINUS_INFINITY "-Infinity" |
| #define | AFW_JSON_Q_NAN "NaN" |
| #define | AFW_JSON_Q_MINUS_NAN "-NaN" |
| #define | AFW_JSON_Q_PN_META AFW_OBJECT_Q_PN_META |
| #define | AFW_JSON_Q_PN_ID AFW_OBJECT_Q_PN_ID |
| #define | AFW_JSON_Q_PN_PATH AFW_OBJECT_Q_PN_PATH |
| #define | AFW_JSON_Q_PN_OBJECT_TYPE AFW_OBJECT_Q_PN_OBJECT_TYPE |
| #define | AFW_JSON_Q_PN_PARENT_PATH AFW_OBJECT_Q_PN_PARENT_PATH |
| #define | afw_json_to_value(json, source_location, p, xctx) |
| Convert JSON to an adaptive value. More... | |
| #define | afw_json_to_object(string, cede_p, p, xctx) |
| Compile json string to adaptive object. More... | |
| #define | afw_json_to_object_with_meta(string, source_location, adaptor_id, object_type_id, object_id, cede_p, p, xctx) |
| Compile json string to adaptive object with meta. More... | |
Functions | |
| const afw_content_type_t * | afw_json_content_type_get () |
| Get the content type instance for json. | |
| void | afw_json_register (afw_xctx_t *xctx) |
| Register JSON support. More... | |
| const afw_utf8_t * | afw_json_from_value (const afw_value_t *value, const afw_object_options_t *options, const afw_pool_t *p, afw_xctx_t *xctx) |
| Convert an adaptive value to JSON. More... | |
| void | afw_json_write_encoded_string (const afw_utf8_t *string, const afw_writer_t *writer, afw_xctx_t *xctx) |
| Write string as json encoded string. More... | |
| afw_json_utf8_string_create (const afw_utf8_t *string, const afw_pool_t *p, afw_xctx_t *xctx) | |
| Create a json encoded quoted string. More... | |
Header file for Adaptive Framework JSON.
Definition in file afw_json.h.