Find an element by name.
Source position: fpjson.pp line 712
public function TJSONObject.Find( |
const AName: string |
):TJSONData; overload; |
const AName: string; |
AType: TJSONtype |
):TJSONData; overload; |
const key: TJSONStringType; |
out AValue: TJSONData |
):Boolean; |
const key: TJSONStringType; |
out AValue: TJSONObject |
):Boolean; |
const key: TJSONStringType; |
out AValue: TJSONArray |
):Boolean; |
const key: TJSONStringType; |
out AValue: TJSONString |
):Boolean; |
const key: TJSONStringType; |
out AValue: TJSONBoolean |
):Boolean; |
const key: TJSONStringType; |
out AValue: TJSONNumber |
):Boolean; |
AName |
|
Name to search for. |
Data element corresponding to AName.
AName |
|
Name to search for. |
AType |
|
Type to match. |
key |
|
Find key name. |
AValue |
|
Value. |
key |
|
Find key name. |
AValue |
|
Value. |
key |
|
Find key name. |
AValue |
|
Value. |
key |
|
Find key name. |
AValue |
|
Value. |
key |
|
Find key name. |
AValue |
|
Value. |
key |
|
Find key name. |
AValue |
|
Value. |
Find compares the names of all elements in the object with AName and returns the matching element. If none of the element's names match, the function returns Nil
Since JSON is a case-sensitive specification, the names are searched case-sensitively.
If AType is specified then the element's type must also match the specified type.
|
Return index of JSONData instance in object. |
|
|
Return index of name in item list. |