FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
28 stars 16 forks source link

Fix to support the value/valueSpecified properties used by XML in Json. #441

Closed ewoutkramer closed 1 month ago

ewoutkramer commented 1 month ago

The xxxx/xxxxSpecified properties were not supported correctly by the json deserializer, leading to these properties being read as their default values. This in its turn caused some properties, in this case the precision/precisionSpecified properties to return false, even if the value in the json was true. Which led to the problems in #434.

This PR now makes sure the xxxxSpecified property is set when the value is set, which means that precisionSpecified will now work correctly.

Fixes #434.