Lucee Function Reference
Function ISJSON
Evaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format.
Example
isjson(any var):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
var | any | Yes | A string or variable that represents one. |