Description
Gets the JSON blob data.
Applies to
JSONGenerator objects
Syntax
objectname.GetJsonBlob ( )
Return value
Blob.
Returns the JSON blob data if it succeeds and empty string ("") if an error occurs.
Examples
This example gets the JSON blob data.
JsonGenerator lnv_JsonGenerator lnv_JsonGenerator = Create JsonGenerator // Create an object root item Long ll_RootObject = lnv_JsonGenerator.CreateJsonObject() // Add a value child item lnv_JsonGenerator.AddItemString(ll_RootObject, "string", "string") lnv_JsonGenerator.AddItemNumber(ll_RootObject, "long", 100) lnv_JsonGenerator.AddItemDateTime(ll_RootObject, "datetime", datetime("2017-09-21 12:00:00")) // Gets the JSON data lblb_Json = lnv_JsonGenerator.GetJsonBlob()
See also