OJSON.$listtoobjectarray(lList[,iEncoding=kUniTypeUTF8,&cErrorText])
Function group | Execute on client | Platform(s) |
---|---|---|
OJSON | NO | All |
OJSON.$listtoobjectarray(lList[,iEncoding=kUniTypeUTF8,&cErrorText])
OJSON.$listtoobjectarray(lList[,iEncoding=kUniTypeUTF8,&cErrorText,iOptions=kOJSONoptionNone])
Writes a list with simple columns to an array of objects. Returns JSON with specified encoding (UTF8, UTF16BE/LE, UTF32BE/LE or Character). Returns NULL and cErrorText for an error.
iOptions can be one of the following constants: kOJSONoptionNone (the default) or kOJSONoptionAllowAnyType which would allow you to use column types, such as Row, beyond the simple column types (integer, number, boolean, string).