Table of Contents

TJElement.AsPrimitive Method

Casts this element to TJPrimitive.

Remarks

Raises EInvalidJsonCast if the element is not a JSON primitive.

Syntax

Unit: Bcl.Json.Classes

function TJElement.AsPrimitive: TJPrimitive;

See also