System.JSON.TJSONValue.AsType
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.