Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Structures | Typedefs | Functions
afw_json_from_value.c File Reference

Convert an AFW value to JSON. More...

#include "afw_internal.h"
#include <apr_buckets.h>

Go to the source code of this file.

Data Structures

struct  from_value_wa_s
 

Typedefs

typedef struct from_value_wa_s impl_from_value_wa_t
 

Functions

void impl_putc (impl_from_value_wa_t *wa, afw_byte_t c)
 
void impl_puts (impl_from_value_wa_t *wa, const afw_utf8_z_t *s)
 
void impl_write (impl_from_value_wa_t *wa, const void *buffer, afw_size_t size)
 
void afw_json_internal_write_value (const afw_value_t *value, const afw_object_options_t *options, void *context, afw_write_cb_t callback, const afw_pool_t *p, afw_xctx_t *xctx)
 
 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...
 
 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...
 

Detailed Description

Convert an AFW value to JSON.

Definition in file afw_json_from_value.c.