Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONValueAsBoolean Method

Converts a JSON value to a Boolean.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONValueAsBoolean(AJSONValue: TJSONValue): Boolean;
__classmethod bool __fastcall GetJSONValueAsBoolean(System::Json::TJSONValue* AJSONValue);

Parameters

Name Description
AJSONValue JSON value to convert.

Returns

True when the value represents JSON true; otherwise False.