System.JSON.TJSONValue.AsType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AsType<T>: T; overload;

C++

template<typename T> T __fastcall AsType()/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONValue

Description

Converts a JSON value to a specific type.

An exception raises when a JSON value cannot be converted.