Edit

PFJsonObject

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

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