HashLoad / jhonson

Middleware for parse JSON in HORSE
MIT License
101 stars 26 forks source link

Settings for compilation in Delphi XE6 #8

Closed GlerystonMatos closed 4 years ago

GlerystonMatos commented 4 years ago

I made some adjustments to allow the compilation and use of jhonson in Delphi XE6.

As in the XE6 version Delphi does not have TJSONValue (). ToJSON, I used a build directive to check if the build version is larger than XE6, to use TJSONValue () instead. ToString, which works in the XE6 version.

I performed tests on Delphi XE6 and 10.3.3 Rio