Retrieves an item value or an entire subtree in JSON represetation.
NXLIBSTR nxLibGetJson (NXLIBERR* result, NXLIBSTR itemPath, NXLIBBOOL prettyPrint, NXLIBINT numberPrecision, NXLIBBOOL scientificNumberFormat);
result |
A pointer to a variable for the error code of the operation. |
itemPath |
The path of the item to access. |
prettyPrint |
Specify true here to format the resulting string with line breaks and tabs. |
numberPrecision |
The floating point precision of the returned numbers. |
scientificNumberFormat |
Specifies whether to use scientific notation for all numbers. |
A JSON string representing the item value or subtree.