Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6JSONVALUE Struct Reference

#include <p6jsontypes.h>

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
* boolean - P6JSON_TYPE_BOOL
*

Definition at line 72 of file p6jsontypes.h.


The documentation for this struct was generated from the following file: