Table of Contents

TTMSFNCUtils.IsJSON Method

Returns whether a string can be parsed as JSON.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function IsJSON(AJSON: string): Boolean;

Parameters

Name Description
AJSON JSON text to validate.

Returns

True when parsing succeeds.