When compiling a project with an enabled MARS_JSON_LEGACY switch, the following errors occur:
[dcc32 Error] MARS.Core.JSON.pas(661): E2250 There is no overloaded version of 'JsonToObject' that can be called with these arguments
[dcc32 Error] MARS.Core.JSON.pas(683): E2250 There is no overloaded version of 'TJson.JsonToObject' that can be called with these arguments
[dcc32 Error] MARS.Core.JSON.pas(746): E2010 Incompatible types: 'TJsonOptions' and 'TMARSJSONSerializationOptions'
When compiling a project with an enabled MARS_JSON_LEGACY switch, the following errors occur:
[dcc32 Error] MARS.Core.JSON.pas(661): E2250 There is no overloaded version of 'JsonToObject' that can be called with these arguments [dcc32 Error] MARS.Core.JSON.pas(683): E2250 There is no overloaded version of 'TJson.JsonToObject' that can be called with these arguments
[dcc32 Error] MARS.Core.JSON.pas(746): E2010 Incompatible types: 'TJsonOptions' and 'TMARSJSONSerializationOptions'