Op 24-04-2020 om 11:25 schreef Arjan Adriaanse:
Indeed with the current way JSON streaming is handled, optional values are not considered. This needs more work and the issue is tracked here https://github.com/arjanadriaanse/pascal-language-server/issues/7 [1].
I did not have a look at your code, but if you have serialization-issues, you might consider looking at Cerialization. (https://gitlab.freepascal.org/Joost/cerialization)
It is what I use for my debugging-project. And it easier to adapt and extend as the json-streaming classes that come with fpc. (Because you always have to wait for the next fpc-version)
Regards, Joost. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal