Skip to content

Releases: boursorama/darty_json

2.0.0

04 Feb 14:20

Choose a tag to compare

  • If a element of map of a list is not JSON serializable it'll be ignore but the subsequence elements will be added to the resulting Json
  • Json and JsonPayload equal operator override to handle comparison by instance or by value

Breaking changes

  • ofType, listOf and mapOf will wrap the element in a Json when calling builder instead of the raw value
  • When expecting a single type when raw value is heterogeneous list and maps, matching type element will remain and the rest will be discarded instead of returning empty list/map