Lucee Function Reference

isjson()

Evaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format.

Example

isjson(any var):boolean

Category

decision,json,javascript

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.