Skip to content

Release 2.0.1

Latest

Choose a tag to compare

@objecthub objecthub released this 25 Oct 07:53
  • Fix JSON.merging(value:): merging two different scalars (or values of different types) returned .null instead of nil, so conflicts went undetected for scalars
  • Fix JSON Schema validation results: annotations tagging instances as deprecated, readOnly, or writeOnly were lost whenever they were produced by a subschema, e.g. by properties, items, allOf, anyOf, or oneOf
  • Fix JSON Schema validation results: a failing oneOf was reported at location anyOf instead of oneOf
  • Fix JSON.init(from:): members of objects and elements of arrays that are null are now decoded explicitly, which makes decoding work with decoders that do not support null values via decode(_:forKey:) and decode(_:), e.g. CBOR decoders
  • Extension of test suite