ExportJSONSize()

Syntax

Result = ExportJSONSize(#JSON [, Flags])
Description
Returns the size in bytes needed to successfully export the given JSON data to a memory buffer with the specified flags.

Parameters

#JSON The JSON to export.
Flags (optional) The flags to be used in the corresponding call to ExportJSON(). The only allowed value is #PB_JSON_PrettyPrint.

Return value

The number of bytes needed to export the JSON data.

See Also

ExportJSON(), ComposeJSON(), SaveJSON()

Supported OS

All

<- ExportJSON() - Json Index - ExtractJSONArray() ->