[fpc-pascal] jsonrtti and integer arrays

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Jul 8 11:03:05 CEST 2015


I see that according to http://wiki.freepascal.org/Streaming_JSON one
can use TStringList for an array of strings, but this seams to work
only for writing JSON, is it possible to read array of strings?

And how to read an array of integers?

Also, can my json be an array instead of an object?

A non-rtti simple example would also be good, since it looks like that
the rtti version cannot read arrays.

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list