Classes | Defines | Typedefs | Enumerations | Functions
ultrajson.h File Reference
#include <stdio.h>
#include <wchar.h>
#include <sys/types.h>
Include dependency graph for ultrajson.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __JSONObjectDecoder
struct  __JSONObjectEncoder
struct  __JSONTypeContext

Defines

#define __LITTLE_ENDIAN__
#define EXPORTFUNCTION
#define FASTCALL_ATTR   __attribute__((fastcall))
#define FASTCALL_MSVC
#define INLINE_PREFIX   inline
#define JSON_DOUBLE_MAX_DECIMALS   15
#define JSON_MAX_RECURSION_DEPTH   1024
#define JSON_MAX_STACK_BUFFER_SIZE   131072
#define JSON_NO_EXTRA_WHITESPACE

Typedefs

typedef int32_t JSINT32
typedef int64_t JSINT64
typedef void * JSITER
typedef int64_t JSLONG
typedef void * JSOBJ
typedef struct __JSONObjectDecoder JSONObjectDecoder
typedef struct __JSONObjectEncoder JSONObjectEncoder
typedef struct __JSONTypeContext JSONTypeContext
typedef void(* JSPFN_FREE )(void *pptr)
typedef void(* JSPFN_ITERBEGIN )(JSOBJ obj, JSONTypeContext *tc)
typedef void(* JSPFN_ITEREND )(JSOBJ obj, JSONTypeContext *tc)
typedef char *(* JSPFN_ITERGETNAME )(JSOBJ obj, JSONTypeContext *tc, size_t *outLen)
typedef JSOBJ(* JSPFN_ITERGETVALUE )(JSOBJ obj, JSONTypeContext *tc)
typedef int(* JSPFN_ITERNEXT )(JSOBJ obj, JSONTypeContext *tc)
typedef void *(* JSPFN_MALLOC )(size_t size)
typedef void *(* JSPFN_REALLOC )(void *base, size_t size)
typedef u_int32_t JSUINT32
typedef u_int64_t JSUINT64
typedef u_int8_t JSUINT8
typedef u_int16_t JSUTF16
typedef u_int32_t JSUTF32

Enumerations

enum  JSTYPES {
  JT_NULL, JT_TRUE, JT_FALSE, JT_INT,
  JT_LONG, JT_DOUBLE, JT_UTF8, JT_ARRAY,
  JT_OBJECT, JT_INVALID
}

Functions

EXPORTFUNCTION JSOBJ JSON_DecodeObject (JSONObjectDecoder *dec, const char *buffer, size_t cbBuffer)
EXPORTFUNCTION char * JSON_EncodeObject (JSOBJ obj, JSONObjectEncoder *enc, char *buffer, size_t cbBuffer)

Define Documentation

Definition at line 116 of file ultrajson.h.

Definition at line 112 of file ultrajson.h.

#define FASTCALL_ATTR   __attribute__((fastcall))

Definition at line 103 of file ultrajson.h.

Definition at line 102 of file ultrajson.h.

#define INLINE_PREFIX   inline

Definition at line 104 of file ultrajson.h.

Definition at line 61 of file ultrajson.h.

Definition at line 66 of file ultrajson.h.

Definition at line 72 of file ultrajson.h.

Definition at line 57 of file ultrajson.h.


Typedef Documentation

typedef int32_t JSINT32

Definition at line 99 of file ultrajson.h.

typedef int64_t JSINT64

Definition at line 96 of file ultrajson.h.

typedef void* JSITER

Definition at line 144 of file ultrajson.h.

typedef int64_t JSLONG

Definition at line 110 of file ultrajson.h.

typedef void* JSOBJ

Definition at line 143 of file ultrajson.h.

typedef void(* JSPFN_FREE)(void *pptr)

Definition at line 160 of file ultrajson.h.

typedef void(* JSPFN_ITERBEGIN)(JSOBJ obj, JSONTypeContext *tc)

Definition at line 154 of file ultrajson.h.

typedef void(* JSPFN_ITEREND)(JSOBJ obj, JSONTypeContext *tc)

Definition at line 156 of file ultrajson.h.

typedef char*(* JSPFN_ITERGETNAME)(JSOBJ obj, JSONTypeContext *tc, size_t *outLen)

Definition at line 158 of file ultrajson.h.

Definition at line 157 of file ultrajson.h.

typedef int(* JSPFN_ITERNEXT)(JSOBJ obj, JSONTypeContext *tc)

Definition at line 155 of file ultrajson.h.

typedef void*(* JSPFN_MALLOC)(size_t size)

Definition at line 159 of file ultrajson.h.

typedef void*(* JSPFN_REALLOC)(void *base, size_t size)

Definition at line 161 of file ultrajson.h.

typedef u_int32_t JSUINT32

Definition at line 100 of file ultrajson.h.

typedef u_int64_t JSUINT64

Definition at line 97 of file ultrajson.h.

typedef u_int8_t JSUINT8

Definition at line 106 of file ultrajson.h.

typedef u_int16_t JSUTF16

Definition at line 107 of file ultrajson.h.

typedef u_int32_t JSUTF32

Definition at line 108 of file ultrajson.h.


Enumeration Type Documentation

enum JSTYPES
Enumerator:
JT_NULL 
JT_TRUE 
JT_FALSE 
JT_INT 
JT_LONG 
JT_DOUBLE 
JT_UTF8 
JT_ARRAY 
JT_OBJECT 
JT_INVALID 

Definition at line 129 of file ultrajson.h.


Function Documentation

EXPORTFUNCTION JSOBJ JSON_DecodeObject ( JSONObjectDecoder dec,
const char *  buffer,
size_t  cbBuffer 
)

Definition at line 825 of file ultrajsondec.c.

EXPORTFUNCTION char* JSON_EncodeObject ( JSOBJ  obj,
JSONObjectEncoder enc,
char *  buffer,
size_t  cbBuffer 
)

Definition at line 836 of file ultrajsonenc.c.



rosbridge_library
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:35