Table of Contents

TTMSFNCUtils.GetJSONValueAsBoolean Method

Converts a JSON value to a Boolean.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function GetJSONValueAsBoolean(AJSONValue: TJSONValue): Boolean;

Parameters

Name Description
AJSONValue JSON value to convert.

Returns

True when the value represents JSON true; otherwise False.