User Tools

Site Tools


api:dk11:delphi:gisfilejson.jsonobjectfindfirst_string_tgis_jsonobject_tgis_jsoniter

Table of Contents

JSONObjectFindFirst(String; TGIS_JSONObject; TGIS_JSONIter) method

DK11 for Delphi | GisFileJSON.JSONObjectFindFirst | Overloads | Methods | Classes | Records

Find first JSON object based on a key.

Syntax

// Delphi
function JSONObjectFindFirst(
  const _key : String;
  const _obj : TGIS_JSONObject;
  var _iter : TGIS_JSONIter
) : Boolean; overload;
// C++ Builder
extern DELPHI_PACKAGE bool JSONObjectFindFirst(
  const UnicodeString _key,
  TGIS_JSONObject* const _obj,
  TGIS_JSONIter* &_iter
) /* overload */;

Parameters

Name Type Description
_key String key to find
_obj TGIS_JSONObject json object to search
_iter TGIS_JSONIter returned iterator

Result

Type Description
Boolean True if object if found
2017/09/04 11:14

Page Tools