p6jsontypes.h File Reference

This is the interface structure used to point to tokens inside the JSON document being parsed. More...

#include "p6err.h"

Go to the source code of this file.

Classes

struct  P6R::P6JSONSTRING
 To avoid having to copy strings or creating new strings we simply point into a set of buffers the start of a string and its length. More...
struct  P6R::P6JSONVALUE
 The 'jstring' field is set for: { P6JSON_TYPE_STR, P6JSON_TYPE_STRPART, P6JSON_TYPE_STREND, P6JSON_TYPE_INTEGER, P6JSON_TYPE_REAL } jstring is set for numbers to allow an application to convert the string to another numeric variable type (e.g., P6UINT64 value). More...

Enumerations

enum  P6JSON_TYPE {
  P6R::P6JSON_TYPE_NULL = 0x00, P6R::P6JSON_TYPE_STR = 0x01, P6R::P6JSON_TYPE_STRPART = 0x02, P6R::P6JSON_TYPE_STREND = 0x03,
  P6R::P6JSON_TYPE_BOOL = 0x04, P6R::P6JSON_TYPE_INTEGER = 0x05, P6R::P6JSON_TYPE_REAL = 0x06
}
 

Used to indicate the type of a JSON expression being returned to a JSON content handler (see p6jsoncontenthander.h).

More...

Detailed Description

This is the interface structure used to point to tokens inside the JSON document being parsed.

This avoid unnecessary copies of strings or creating new strings.

Definition in file p6jsontypes.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.