Serializejson()
Encodes the given object to a JSON string.
Usage
STRING = Serializejson(
object,
sercols,
conv,
date
)
Argument | Summary |
---|---|
object | object |
sercols | serialize column names - default false [optional] |
conv | key case - how to encode the keys. Values are: lower, upper or maintain. Default=maintain. You can change the default encoding using the bluedragon.xml flag: server.system.jsoncase [optional] |
date | date formatting - how dates are encoded. Values are: LONG, HTTP, JSON, CFML, MONGO. Default=long. You can change the default encoding using the bluedragon.xml flag: server.system.jsondate [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
Serializejson( object=?, sercols=?, conv=?, date=? );
Supports passing parameters as a structure using ArgumentCollection:
Serializejson( ArgumentCollection={ object : ?, sercols : ?, conv : ?, date : ? } );