Show: Delphi C++
Display Preferences

REST.Json.TJson.JsonToObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function JsonToObject<T: class, constructor>(AJsonObject: TJSOnObject; AOptions: TJsonOptions = [joDateIsUTC, joDateFormatISO8601]): T; overload;
class function JsonToObject<T: class, constructor>(AJson: string; AOptions: TJsonOptions = [joDateIsUTC, joDateFormatISO8601]): T; overload;
class procedure JsonToObject(AObject:TObject; AJsonObject: TJSOnObject; AOptions: TJsonOptions = [joDateIsUTC, joDateFormatISO8601]); overload;

C++

template<typename T> __classmethod T __fastcall JsonToObject(System::Json::TJSONObject* AJsonObject, TJsonOptions AOptions = (TJsonOptions() << TJsonOption::joDateIsUTC << TJsonOption::joDateFormatISO8601 ))/* overload */;
template<typename T> __classmethod T __fastcall JsonToObject(System::UnicodeString AJson, TJsonOptions AOptions = (TJsonOptions() << TJsonOption::joDateIsUTC << TJsonOption::joDateFormatISO8601 ))/* overload */;
__classmethod void __fastcall JsonToObject(System::TObject* AObject, System::Json::TJSONObject* AJsonObject, TJsonOptions AOptions = (TJsonOptions() << TJsonOption::joDateIsUTC << TJsonOption::joDateFormatISO8601 ))/* overload */;

Properties

Type Visibility Source Unit Parent
function public
REST.Json.pas
REST.Json.hpp
REST.Json TJson

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance