Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IXMLNode2::outputSubTreeInKMIPJSON ( p6IDataStream pOutput,
P6DOMCHARSET  charSet,
P6BOOL  bSolidusEscaping,
P6BOOL  bPrettyPrint 
)
pure virtual

Write the contents of the subtree rooted at this node in the dialect of JSON used by KMIP: OASIS, KMIP Additional Message Encodings Version 1.0, 10 August 2013.

Parameters
pOutput[ in ] Data stream object to write the DOM out to.
charSet[ in ] How to encode the generated JSON
bSolidusEscaping[ in ] if value is P6FALSE, thensolidus escaping in JSON strings is disabled (i.e., "/" will not become "\/")
bPrettyPrint[ in ] Output each new element indendented on a new line
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eNoMemoryInsufficient memory to output tree.