Description
Creates the array of JsonArrayItem type as root item to initialize instance.
Applies to
JSONGenerator objects
Syntax
objectname.CreateJsonArray ( )
Return value
Long.
Returns the root item handle if it succeeds and -1 if an error occurs.
Examples
This example create the JSON root item of array type:
JsonGenerator lnv_JsonGenerator Long ll_RootArray lnv_JsonGenerator = Create JsonGenerator ll_RootArray = lnv_JsonGenerator.CreateJsonArray() if ll_RootArray <> -1 then ... end if
See also