Cthulhu  0.2.10
Cthulhu compiler collection
json.c File Reference
#include "json/json.h"
#include "base/util.h"
#include "interop/compile.h"
#include "std/map.h"
#include "std/vector.h"
#include "json_bison.h"
#include "json_flex.h"
Include dependency graph for json.c:

Go to the source code of this file.

Functions

 CT_CALLBACKS (kCallbacks, json)
 
STA_DECL json_tjson_map_get (const json_t *json, const char *key)
 get a json value from an object by key More...
 
STA_DECL json_tjson_array_get (const json_t *json, size_t index)
 get an array element by index More...
 
STA_DECL json_tjson_scan (io_t *io, logger_t *logger, arena_t *arena)
 scan an io into a json value scan the contents of an io object into a json value More...
 
STA_DECL json_parse_t json_parse (io_t *io, logger_t *logger, arena_t *arena)
 parse an io into a json value parse the contents of an io object into a json value More...
 

Function Documentation

◆ CT_CALLBACKS()

CT_CALLBACKS ( kCallbacks  ,
json   
)