validateJsonContent
Summary
Validates JSON content to ensure it’s safe to parse.Signature
Parameters
jsonString
Type:string
The JSON string to validate
options
Type:Returns
Type:string
Validates JSON content to ensure it’s safe to parse.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Validates JSON content to ensure it’s safe to parse.
static validateJsonContent(jsonString: string, options?: {
skipPatternCheck?: boolean;
}): string;
string
The JSON string to validate
{
skipPatternCheck?: boolean;
}
string
Validates JSON content to ensure it’s safe to parse.Was this page helpful?
