Skip to content

Function: isJson() ​

isJson(value): boolean

Defined in: src/validators.ts:271

Check if value is a valid JSON string

Parameters ​

value ​

unknown

The value to check

Returns ​

boolean

True if the value is a valid JSON string

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.