サイトアイコン 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-67387a440f910160661142/]

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

[How to call by using String]

[crayon-67387a440f917987997636/]

 

That was called in the string can be confirmed.

 

[How to call by using Integer]

[crayon-67387a440f91b212143148/]

 


 

[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

 

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