satyr  0.28
Data Structures | Macros | Enumerations | Functions | Variables
json.h File Reference

Json. More...

Go to the source code of this file.

Data Structures

struct  sr_json_settings
 
struct  sr_json_value
 

Macros

#define SR_JSON_RELAXED_COMMAS   1
 

Enumerations

enum  sr_json_type {
  SR_JSON_NONE, SR_JSON_OBJECT, SR_JSON_ARRAY, SR_JSON_INTEGER,
  SR_JSON_DOUBLE, SR_JSON_STRING, SR_JSON_BOOLEAN, SR_JSON_NULL
}
 

Functions

struct sr_json_valuesr_json_parse (const char *json, char **error_message)
 
struct sr_json_valuesr_json_parse_ex (struct sr_json_settings *settings, const char *json, struct sr_location *location)
 
void sr_json_value_free (struct sr_json_value *value)
 
char * sr_json_escape (const char *text)
 
struct sr_strbufsr_json_append_escaped (struct sr_strbuf *strbuf, const char *str)
 

Variables

const struct sr_json_value sr_json_value_none
 

Detailed Description

Json.

Definition in file json.h.