85 int jx_operator_precedence( jx_operator_t op );
int jx_parser_errors(struct jx_parser *p)
Return number of parse errors.
struct jx_parser * jx_parser_create(bool strict_mode)
Create a JX parser object.
struct jx * jx_parse_string(const char *str)
Parse a JSON string to a JX expression.
struct jx * jx_parse_cmd_args(struct jx *jx_args, char *args_file)
Parse a jx argument file from a commandline option.
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 first parse error encountered.
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.
int jx_parse_cmd_define(struct jx *jx_args, char *define_stmt)
Parse a jx define statement from a commandline option.
void jx_parser_delete(struct jx_parser *p)
Delete a parser.
JX value representing any expression type.
Definition: jx.h:117
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.