Skip to main content
Table of Contents

TTMSFNCUtils.IsJSON Method

Returns whether a string can be parsed as JSON.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function IsJSON(AJSON: string): Boolean;
__classmethod bool __fastcall IsJSON(System::UnicodeString AJSON);

Parameters

Name Description
AJSON JSON text to validate.

Returns

True when parsing succeeds.