json_tokener.h File Reference

#include "json_object.h"
Include dependency graph for json_tokener.h:

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  ) 
struct json_tokener* json_tokener_new ( void   )  [read]
struct json_object* json_tokener_parse ( const char *  str  )  [read]
struct json_object* json_tokener_parse_ex ( struct json_tokener tok,
const char *  str,
int  len 
) [read]
void json_tokener_reset ( struct json_tokener tok  ) 

Variable Documentation

const char* json_tokener_errors[]
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


csm
Author(s): Ivan Dryanovski, William Morris
autogenerated on Fri Jan 11 09:15:58 2013