Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 20 Aug 15:41
· 174 commits to dev since this release

Breaking changes

Make Array and Map methods on Decoder

The package-level Array and Map functions are gone.
Call them on the decoder instead: jsoncap.Array(d, prior, ...) becomes
d.Array(prior, ...), and jsoncap.Map(d, prior, ...) becomes
d.Map(prior, ...). The import path moves to github.com/cplieger/jsoncap/v2.

Changed

  • [breaking] Make Array and Map methods on Decoder