[fpc-pascal] Read JSON from file

Chris Moody inquiry at greensnakedesign.com
Thu Aug 6 22:37:14 CEST 2015


Hi all,

For my current project, I download a file from a server that contains 
JSON code. I'm not sure how to read it into something that GetJSON is 
able to handle.

My first thought was using TStrings, however not sure how to convert a 
TString into TStream.

Any assistance would be much appreciated.

Chris



More information about the fpc-pascal mailing list