Table of Contents

TJElement.AsString Method

Returns the value of this element as a string.

Remarks

Raises EInvalidJsonCast if the element cannot be converted to string.

Syntax

Unit: Bcl.Json.Classes

function TJElement.AsString: string; virtual;

See also