System.JSON.TJSONPathParser.Create
Delphi
constructor Create(const APath: string);
C++
__fastcall TJSONPathParser(const System::UnicodeString APath);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| constructor | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONPathParser |
説明
指定された JSON パスの要素を反復処理するための TJSONPathParser インスタンスを作成します。
サポートされている JSON パス構文
TJSONPathParser では、Stefan Göessner が定義した JSON パス仕様のサブセットを実装しています。具体的には、オブジェクトのドット演算子(.)および配列の添字演算子([])がサポートされています。これらの演算子では特別な式をサポートしていません。サポートしているのは実際の値だけです。
TJSONPathParser では、たとえば "store.books[0].title" のような JSON パスをサポートしています。