P6R::P6JSONVALUE Struct Reference

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...

#include <p6jsontypes.h>

List of all members.

Public Attributes

P6BOOL boolean
P6INT32 integer
P6JSONSTRING jstring
P6FLOAT real
P6JSON_TYPE type

Detailed Description

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).

  type     - which type is used?
   jstring  - { P6JSON_TYPE_STR, P6JSON_TYPE_STRPART, P6JSON_TYPE_STREND }, offset into buffer where string was found
   integer  - P6JSON_TYPE_INTEGER
   real     - P6JSON_TYPE_REAL
   boolean  - P6JSON_TYPE_BOOL

Definition at line 72 of file p6jsontypes.h.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.