OJSON.$listorrowtojson()

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

Syntax

OJSON.$listorrowtojson(vListOrRow,[iEncoding=kUniTypeUTF8,&cErrorText])

Description

Writes the list or row in vListOrRow and returns JSON with the specified encoding in iEncoding (UTF8,UTF16BE/LE,UTF32BE/LE or Character). Returns NULL and cErrorText if an error occurs.