int jx_parser_errors(struct jx_parser *p)
Return number of parse errors.
struct jx * jx_parse_string(const char *str)
Parse a JSON string to a JX expression.
struct jx * jx_parse_link(struct link *l, time_t stoptime)
Parse a network link to a JX expression.
const char * jx_parser_error_string(struct jx_parser *p)
Return text of parse error.
void jx_parser_read_link(struct jx_parser *p, struct link *l, time_t stoptime)
Attach parser to a link.
struct jx * jx_parse_stream(FILE *file)
Parse a standard IO stream to a JX expression.
struct jx * jx_parse(struct jx_parser *p)
Parse a JX expression.
void jx_parser_read_string(struct jx_parser *p, const char *str)
Attach parser to a string.
JSON Expressions (JX) library.
struct jx_parser * jx_parser_create()
Create a JX parser object.
void jx_parser_delete(struct jx_parser *p)
Delete a parser.
JX value representing any expression type.
Definition: jx.h:74
struct jx * jx_parse_file(const char *name)
Parse a file to a JX expression.
void jx_parser_read_stream(struct jx_parser *p, FILE *file)
Attach parser to a file.
A high level TCP connection library.
struct jx * jx_parser_yield(struct jx_parser *p)
Parse and return a single value.