Class tjsoncontainer

Unit

Declaration

type tjsoncontainer = class(TObject)

Description

Hierarchy

Overview

Fields

Protected fvalue: jsonvaluety;

Methods

Protected function findvaluevalue(const names: array of msestring): pjsonvaluety;
Public constructor create(const avalue: jsonvaluety);
Public constructor create(const adata: string);
Public class function trycreate(out ainstance: tjsoncontainer; const adata: string): boolean;
Public destructor destroy(); override;
Public function findvalue(const names: array of msestring; const raiseexception: boolean = false): pjsonvaluety;
Public function asstring(const names: array of msestring): msestring;
Public function asboolean(const names: array of msestring): boolean;
Public function asint32(const names: array of msestring): int32;
Public function asint64(const names: array of msestring): int64;
Public function asflo64(const names: array of msestring): flo64;
Public procedure iteratearray(const names: array of msestring; var adata; const startproc: arraystartmethodty; const itemproc: arrayitemmethodty);
Public procedure iteratearray(const names: array of msestring; var adata; const startproc: arraystartprocty; const itemproc: arrayitemprocty);

Properties

Public property value: jsonvaluety read fvalue;

Description

Fields

Protected fvalue: jsonvaluety;
 

Methods

Protected function findvaluevalue(const names: array of msestring): pjsonvaluety;
 
Public constructor create(const avalue: jsonvaluety);
 
Public constructor create(const adata: string);
 
Public class function trycreate(out ainstance: tjsoncontainer; const adata: string): boolean;
 
Public destructor destroy(); override;
 
Public function findvalue(const names: array of msestring; const raiseexception: boolean = false): pjsonvaluety;
 
Public function asstring(const names: array of msestring): msestring;
 
Public function asboolean(const names: array of msestring): boolean;
 
Public function asint32(const names: array of msestring): int32;
 
Public function asint64(const names: array of msestring): int64;
 
Public function asflo64(const names: array of msestring): flo64;
 
Public procedure iteratearray(const names: array of msestring; var adata; const startproc: arraystartmethodty; const itemproc: arrayitemmethodty);
 
Public procedure iteratearray(const names: array of msestring; var adata; const startproc: arraystartprocty; const itemproc: arrayitemprocty);
 

Properties

Public property value: jsonvaluety read fvalue;
 

Generated by PasDoc 0.16.0.