JSONSerialize
Converts a BoxLang variable into a JSON (JavaScript Object Notation) string.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The variable to convert to a JSON string. | |
|
|
| If the variable is a query, specifies whether to serialize the query by rows or by columns. |
|
|
|
| If true, the JSON string is prefixed with a secure JSON prefix. |
|
|
|
| If true, the JSON string is serialized using a custom serializer. (Not used) |
Examples
Related
Last updated