Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

qcschema_json.h File Reference

#include <inttypes.h>
#include <stdlib.h>

Go to the source code of this file.

Compounds

struct  _json_object_entry
struct  _json_value
struct  json_settings

Defines

#define json_char   char
#define json_int_t   int64_t
#define json_enable_comments   0x01
#define json_error_max   128

Typedefs

typedef _json_object_entry json_object_entry
typedef _json_value json_value

Enumerations

enum  json_type {
  json_none, json_object, json_array, json_integer,
  json_double, json_string, json_boolean, json_null
}

Functions

json_valuejson_parse (const json_char *json, size_t length)
json_valuejson_parse_ex (json_settings *settings, const json_char *json, size_t length, char *error)
void json_value_free (json_value *)
void json_value_free_ex (json_settings *settings, json_value *)

Variables

const struct _json_value json_value_none


Define Documentation

#define json_char   char
 

Definition at line 35 of file qcschema_json.h.

Referenced by hex_value, json_parse, json_parse_ex, new_value, open_qcschema_read, and would_overflow.

#define json_enable_comments   0x01
 

Definition at line 75 of file qcschema_json.h.

Referenced by json_parse_ex.

#define json_error_max   128
 

Definition at line 261 of file qcschema_json.h.

Referenced by json_parse_ex.

#define json_int_t   int64_t
 

Definition at line 41 of file qcschema_json.h.

Referenced by would_overflow.


Typedef Documentation

typedef struct _json_object_entry json_object_entry
 

typedef struct _json_value json_value
 


Enumeration Type Documentation

enum json_type
 

Enumeration values:
json_none 
json_object 
json_array 
json_integer 
json_double 
json_string 
json_boolean 
json_null 

Definition at line 77 of file qcschema_json.h.

Referenced by new_value.


Function Documentation

json_value* json_parse const json_char *    json,
size_t    length
 

Definition at line 977 of file qcschema_json.c.

Referenced by open_qcschema_read.

json_value* json_parse_ex json_settings   settings,
const json_char *    json,
size_t    length,
char *    error
 

Definition at line 237 of file qcschema_json.c.

Referenced by json_parse.

void json_value_free json_value  
 

Definition at line 1033 of file qcschema_json.c.

void json_value_free_ex json_settings   settings,
json_value  
 

Definition at line 983 of file qcschema_json.c.

Referenced by json_parse_ex, and json_value_free.


Variable Documentation

const struct _json_value json_value_none
 

Definition at line 90 of file qcschema_json.h.


Generated on Fri Aug 7 03:05:13 2020 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002