Programming => Packages and Libraries => Topic started by: zyzmo on August 05, 2019, 08:34:46 pm
Title: TSimpleJSONExporter
Post by: zyzmo on August 05, 2019, 08:34:46 pm
Hello! I was implementing a solution using TSimpleJSONExporter, where I export a query to JSON and then send it through the internet. Although I noticed something weird, and I couldn't find an explanation... when I export the query as JSON, the separator of each field should be ',' but I get ';'
I don't have a gitlab account so it would be good if someone could make these changes.
for those that want a local change on windows, rebuilding fpc can be a real hassle, so I recommend: 1. Create a new project 2. Copy C:\lazarus\fpc\3.2.0\source\packages\fcl-db\src\export\fpsimplejsonexport.pp into your project directory 3. Add it to your project 4. Compile your project 5. Copy fpsimplejsonexport.o, fpsimplejsonexport.ppu, fpsimplejsonexport.rsj into C:\lazarus\fpc\3.2.0\units\x86_64-win64\fcl-db
Title: Re: TSimpleJSONExporter
Post by: wp on December 01, 2021, 12:20:12 pm
I posted a bug report: https://gitlab.com/freepascal.org/fpc/source/-/issues/39460
[EDIT] Already fixed in fpc/main...
Title: Re: TSimpleJSONExporter
Post by: mike_p on December 01, 2021, 05:22:30 pm
Hey Werner! - perfect response! And amazingly already taken up and applied by Michael Van Canneyt! Very impressive.