type TCEFJson = class(TObject)
This item has no description.
class function ReadValue(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefValue) : boolean; |
|
class function ReadBoolean(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : boolean) : boolean; |
|
class function ReadInteger(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : integer) : boolean; |
|
class function ReadDouble(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : double) : boolean; |
|
class function ReadString(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ustring) : boolean; |
|
class function ReadBinary(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefBinaryValue) : boolean; |
|
class function ReadDictionary(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefDictionaryValue) : boolean; |
|
class function ReadList(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefListValue) : boolean; |
|
class function Parse(const jsonString: ustring; options: TCefJsonParserOptions = JSON_PARSER_RFC): ICefValue; overload; |
|
class function Parse(const json: Pointer; json_size: NativeUInt; options: TCefJsonParserOptions = JSON_PARSER_RFC): ICefValue; overload; |
|
class function ParseAndReturnError(const jsonString: ustring; options: TCefJsonParserOptions; out errorMsgOut: ustring): ICefValue; |
|
class function Write(const node: ICefValue; options: TCefJsonWriterOptions = JSON_WRITER_DEFAULT): ustring; overload; |
|
class function Write(const node: ICefDictionaryValue; options: TCefJsonWriterOptions = JSON_WRITER_DEFAULT): ustring; overload; |
|
class function Write(const node: ICefValue; var aRsltStrings: TStringList): boolean; overload; |
|
class function Write(const node: ICefDictionaryValue; var aRsltStrings: TStringList): boolean; overload; |
|
class function SaveToFile(const node: ICefValue; const aFileName: ustring): boolean; overload; |
|
class function SaveToFile(const node: ICefDictionaryValue; const aFileName: ustring): boolean; overload; |
|
class function LoadFromFile(const aFileName: ustring; var aRsltNode: ICefValue; options: TCefJsonParserOptions = JSON_PARSER_RFC): boolean; |
class function ReadValue(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefValue) : boolean; |
|
Returns the ICefValue value at the specified key. |
class function ReadBoolean(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : boolean) : boolean; |
|
Returns the boolean value at the specified key. |
class function ReadInteger(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : integer) : boolean; |
|
Returns the integer value at the specified key. |
class function ReadDouble(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : double) : boolean; |
|
Returns the double value at the specified key. |
class function ReadString(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ustring) : boolean; |
|
Returns the ustring value at the specified key. |
class function ReadBinary(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefBinaryValue) : boolean; |
|
Returns the ICefBinaryValue value at the specified key. |
class function ReadDictionary(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefDictionaryValue) : boolean; |
|
Returns the ICefDictionaryValue value at the specified key. |
class function ReadList(const aDictionary : ICefDictionaryValue; const aKey : string; var aValue : ICefListValue) : boolean; |
|
Returns the ICefListValue value at the specified key. |
class function Parse(const jsonString: ustring; options: TCefJsonParserOptions = JSON_PARSER_RFC): ICefValue; overload; |
|
Parses the specified |json_string| and returns a dictionary or list representation. If JSON parsing fails this function returns NULL. |
class function Parse(const json: Pointer; json_size: NativeUInt; options: TCefJsonParserOptions = JSON_PARSER_RFC): ICefValue; overload; |
|
Parses the specified UTF8-encoded |json| buffer of size |json_size| and returns a dictionary or list representation. If JSON parsing fails this function returns NULL. |
class function ParseAndReturnError(const jsonString: ustring; options: TCefJsonParserOptions; out errorMsgOut: ustring): ICefValue; |
|
Parses the specified |json_string| and returns a dictionary or list representation. If JSON parsing fails this function returns NULL and populates |error_msg_out| with a formatted error message. |
class function Write(const node: ICefValue; options: TCefJsonWriterOptions = JSON_WRITER_DEFAULT): ustring; overload; |
|
Generates a JSON string from the specified root |node|. Returns an NULL string on failure. This function requires exclusive access to |node| including any underlying data. |
class function Write(const node: ICefDictionaryValue; options: TCefJsonWriterOptions = JSON_WRITER_DEFAULT): ustring; overload; |
|
Generates a JSON string from the specified root |node|. Returns an NULL string on failure. This function requires exclusive access to |node| including any underlying data. |
class function Write(const node: ICefValue; var aRsltStrings: TStringList): boolean; overload; |
|
Generates a JSON string from the specified root |node|. Returns an NULL string on failure. This function requires exclusive access to |node| including any underlying data. |
class function Write(const node: ICefDictionaryValue; var aRsltStrings: TStringList): boolean; overload; |
|
Generates a JSON string from the specified root |node|. Returns an NULL string on failure. This function requires exclusive access to |node| including any underlying data. |
class function SaveToFile(const node: ICefValue; const aFileName: ustring): boolean; overload; |
|
Saves the JSON data in |node| to a file in aFileName. |
class function SaveToFile(const node: ICefDictionaryValue; const aFileName: ustring): boolean; overload; |
|
Saves the JSON data in |node| to a file in aFileName. |
class function LoadFromFile(const aFileName: ustring; var aRsltNode: ICefValue; options: TCefJsonParserOptions = JSON_PARSER_RFC): boolean; |
|
Loads the JSON data in |aFileName| using the |encoding| and returns an ICefValue node in |aRsltNode|. |