Editar

PFJsonObject

Holds a JSON object as a null-terminated string.

Syntax

typedef struct PFJsonObject {  
    const char* stringValue;  
} PFJsonObject;  

Members

stringValue const char*
may be nullptr
is null-terminated

The serialized JSON object. In a result, this member can be nullptr. For example, when the service omits DisplayProperties for a catalog item, the displayProperties.stringValue member of PFCatalogCatalogItem is nullptr. Check for nullptr before you parse it.

Requirements

Header: PFTypes.h

See also

PFTypes members