Classe TRESTDWJSONBase
Unit
Declaração
type TRESTDWJSONBase = class(TObject)
Descrição
Hierarquia
- TObject
- TRESTDWJSONBase
Visão Geral
Métodos
![]() |
Constructor Create(aObjectType : TRESTDWJSONObjectType); Overload; |
![]() |
Constructor Create(JSON : String); Overload; |
![]() |
Destructor Destroy; Override; |
![]() |
Function AddFloat(Key : String; Value : Real) : Integer; |
![]() |
Function AddDateTime(Key : String; Value : TDateTime; aDateTimeFormat : TRESTDWDateTimeFormat = dtfString; aFormatMask : String = '') : Integer; |
![]() |
Function AddNull(Key : String; ElementType : TRESTDWJSONElementType = etString) : Integer; |
![]() |
Function Add(Key, Value : String) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : Integer) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : Real) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : Boolean) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : TDateTime; aDateTimeFormat : TRESTDWDateTimeFormat = dtfString; aFormatMask : String = '') : Integer; Overload; |
![]() |
Function Add(Key : String; Const Value : TStream) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : TRESTDWJSONBase) : Integer; Overload; |
![]() |
Function Add(Value : String) : Integer; Overload; |
![]() |
Function Add(Value : Integer) : Integer; Overload; |
![]() |
Function Add(Value : Real) : Integer; Overload; |
![]() |
Function Add(Value : Boolean) : Integer; Overload; |
![]() |
Function Add(Value : TDateTime; aDateTimeFormat : TRESTDWDateTimeFormat = dtfString; aFormatMask : String = '') : Integer; Overload; |
![]() |
Function Add(Const Value : TStream) : Integer; Overload; |
![]() |
Function Add(Value : TRESTDWJSONBase) : Integer; Overload; |
![]() |
Procedure Delete(Index : Integer); Overload; |
![]() |
Procedure Delete(aElement : String); Overload; |
![]() |
Procedure Clear; |
![]() |
Function Count: Integer; |
![]() |
Function ToJSON: String; Virtual; |
![]() |
Function SaveToFile(Filename : String) : Boolean; |
Propriedades
![]() |
property Elements [Index:Integer]: TRESTDWJSONBaseObjectClass Read GetRec Write PutRec; |
![]() |
property ElementByName[Index:String]: TRESTDWJSONBaseObjectClass Read GetRecName Write PutRecName; |
![]() |
property ElementName : String Read vElementName Write vElementName; |
![]() |
property ObjectType : TRESTDWJSONObjectType Read vJSONObjectType; |
![]() |
property SpecialChars : Boolean Read vSpecialChars Write vSpecialChars; |
Descrição
Métodos
![]() |
Constructor Create(aObjectType : TRESTDWJSONObjectType); Overload; |
![]() |
Constructor Create(JSON : String); Overload; |
![]() |
Destructor Destroy; Override; |
![]() |
Function AddFloat(Key : String; Value : Real) : Integer; |
![]() |
Function AddDateTime(Key : String; Value : TDateTime; aDateTimeFormat : TRESTDWDateTimeFormat = dtfString; aFormatMask : String = '') : Integer; |
![]() |
Function AddNull(Key : String; ElementType : TRESTDWJSONElementType = etString) : Integer; |
![]() |
Function Add(Key, Value : String) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : Integer) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : Real) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : Boolean) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : TDateTime; aDateTimeFormat : TRESTDWDateTimeFormat = dtfString; aFormatMask : String = '') : Integer; Overload; |
![]() |
Function Add(Key : String; Const Value : TStream) : Integer; Overload; |
![]() |
Function Add(Key : String; Value : TRESTDWJSONBase) : Integer; Overload; |
![]() |
Function Add(Value : String) : Integer; Overload; |
![]() |
Function Add(Value : Integer) : Integer; Overload; |
![]() |
Function Add(Value : Real) : Integer; Overload; |
![]() |
Function Add(Value : Boolean) : Integer; Overload; |
![]() |
Function Add(Value : TDateTime; aDateTimeFormat : TRESTDWDateTimeFormat = dtfString; aFormatMask : String = '') : Integer; Overload; |
![]() |
Function Add(Const Value : TStream) : Integer; Overload; |
![]() |
Function Add(Value : TRESTDWJSONBase) : Integer; Overload; |
![]() |
Procedure Delete(Index : Integer); Overload; |
![]() |
Procedure Delete(aElement : String); Overload; |
![]() |
Procedure Clear; |
![]() |
Function Count: Integer; |
![]() |
Function ToJSON: String; Virtual; |
![]() |
Function SaveToFile(Filename : String) : Boolean; |
Propriedades
![]() |
property Elements [Index:Integer]: TRESTDWJSONBaseObjectClass Read GetRec Write PutRec; |
![]() |
property ElementByName[Index:String]: TRESTDWJSONBaseObjectClass Read GetRecName Write PutRecName; |
![]() |
property ElementName : String Read vElementName Write vElementName; |
![]() |
property ObjectType : TRESTDWJSONObjectType Read vJSONObjectType; |
![]() |
property SpecialChars : Boolean Read vSpecialChars Write vSpecialChars; |
Gerado por PasDoc 0.16.0.