OJSON.$jsontolistorrow()

Function group Execute on client Platform(s)
OJSON NO All

Syntax

OJSON.$jsontolistorrow(vData,[&cErrorText,bAllowArraysOfRows=kFalse])

Description

Parses the JSON array or object in vData (either binary (UTF8/16/32) or character) and returns a row or a list representing the JSON. If bAllowArraysOfRows is true, a JSON array where its first member is an object is assumed to be an array containing only objects (this removes an extra nested row from the generated output).

Returns NULL and cErrorText if an error occurs.