Classes | Defines | Enumerations | Functions | Variables
json_tokener.h File Reference
#include "json_object.h"
Include dependency graph for json_tokener.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  json_tokener
struct  json_tokener_srec

Defines

#define JSON_TOKENER_MAX_DEPTH   32

Enumerations

enum  json_tokener_error {
  json_tokener_success, json_tokener_continue, json_tokener_error_depth, json_tokener_error_parse_eof,
  json_tokener_error_parse_unexpected, json_tokener_error_parse_null, json_tokener_error_parse_boolean, json_tokener_error_parse_number,
  json_tokener_error_parse_array, json_tokener_error_parse_object_key_name, json_tokener_error_parse_object_key_sep, json_tokener_error_parse_object_value_sep,
  json_tokener_error_parse_string, json_tokener_error_parse_comment
}
enum  json_tokener_state {
  json_tokener_state_eatws, json_tokener_state_start, json_tokener_state_finish, json_tokener_state_null,
  json_tokener_state_comment_start, json_tokener_state_comment, json_tokener_state_comment_eol, json_tokener_state_comment_end,
  json_tokener_state_string, json_tokener_state_string_escape, json_tokener_state_escape_unicode, json_tokener_state_boolean,
  json_tokener_state_number, json_tokener_state_array, json_tokener_state_array_add, json_tokener_state_array_sep,
  json_tokener_state_object_field_start, json_tokener_state_object_field, json_tokener_state_object_field_end, json_tokener_state_object_value,
  json_tokener_state_object_value_add, json_tokener_state_object_sep
}

Functions

void json_tokener_free (struct json_tokener *tok)
struct json_tokenerjson_tokener_new (void)
struct json_objectjson_tokener_parse (const char *str)
struct json_objectjson_tokener_parse_ex (struct json_tokener *tok, const char *str, int len)
void json_tokener_reset (struct json_tokener *tok)

Variables

const char * json_tokener_errors []

Define Documentation

#define JSON_TOKENER_MAX_DEPTH   32

Definition at line 67 of file json_tokener.h.


Enumeration Type Documentation

Enumerator:
json_tokener_success 
json_tokener_continue 
json_tokener_error_depth 
json_tokener_error_parse_eof 
json_tokener_error_parse_unexpected 
json_tokener_error_parse_null 
json_tokener_error_parse_boolean 
json_tokener_error_parse_number 
json_tokener_error_parse_array 
json_tokener_error_parse_object_key_name 
json_tokener_error_parse_object_key_sep 
json_tokener_error_parse_object_value_sep 
json_tokener_error_parse_string 
json_tokener_error_parse_comment 

Definition at line 17 of file json_tokener.h.

Enumerator:
json_tokener_state_eatws 
json_tokener_state_start 
json_tokener_state_finish 
json_tokener_state_null 
json_tokener_state_comment_start 
json_tokener_state_comment 
json_tokener_state_comment_eol 
json_tokener_state_comment_end 
json_tokener_state_string 
json_tokener_state_string_escape 
json_tokener_state_escape_unicode 
json_tokener_state_boolean 
json_tokener_state_number 
json_tokener_state_array 
json_tokener_state_array_add 
json_tokener_state_array_sep 
json_tokener_state_object_field_start 
json_tokener_state_object_field 
json_tokener_state_object_field_end 
json_tokener_state_object_value 
json_tokener_state_object_value_add 
json_tokener_state_object_sep 

Definition at line 34 of file json_tokener.h.


Function Documentation

void json_tokener_free ( struct json_tokener tok)

Definition at line 66 of file json_tokener.c.

struct json_tokener* json_tokener_new ( void  ) [read]

Definition at line 58 of file json_tokener.c.

struct json_object* json_tokener_parse ( const char *  str) [read]

Definition at line 92 of file json_tokener.c.

struct json_object* json_tokener_parse_ex ( struct json_tokener tok,
const char *  str,
int  len 
) [read]

Definition at line 133 of file json_tokener.c.

void json_tokener_reset ( struct json_tokener tok)

Definition at line 83 of file json_tokener.c.


Variable Documentation

const char* json_tokener_errors[]

Definition at line 40 of file json_tokener.c.



csm_ros
Author(s): Gaƫl Ecorchard , Ivan Dryanovski, William Morris, Andrea Censi
autogenerated on Sat Jun 8 2019 19:52:42