| Function group | Execute on client | Platform(s) |
| OJSON | NO | All |
OJSON.$listorrowtojson(vListOrRow[,iEncoding=kUniTypeUTF8,&cErrorText,iOptions=kOJSONoptionNone])
Converts list or row to JSON.Returns JSON with specified encoding (UTF8,UTF16BE/LE,UTF32BE/LE or Char).Returns NULL and cErrorText for an error