サイトアイコン Embarcadero RAD Studio, Delphi, & C++Builder Blogs

How to get the array using the TJSONIterator Delphi[JAPAN]

the future of starts demands massive productivity

Author: Duclos B65275

 

Below, I wrote a Delphi code.

[crayon-67636a4873201271071610/]

By writing like this, you can use both String and Integer.

[How to call by using String]

[crayon-67636a4873207964727813/]

 

That was called in the string can be confirmed.

 

[How to call by using Integer]

[crayon-67636a4873209791957226/]

 


 

[The source is in Gist. ] 

https://gist.github.com/mojeld/e5863b845e416d7371ffbaecdd49409f

 

[Reference material]

http://docwiki.embarcadero.com/CodeExamples/Berlin/en/RTL.JSONIterator

http://docwiki.embarcadero.com/CodeExamples/Berlin/en/RTL.JSONBuilder

 

モバイルバージョンを終了