lidatong / dataclasses-json

Easily serialize Data Classes to and from JSON
MIT License
1.34k stars 150 forks source link

feat: support abstract collections #532

Closed PJCampi closed 4 weeks ago

PJCampi commented 1 month ago

Typing with abstract collections rather than concrete implementations typically make for a looser and contract based API. This PR implements decoding to an abstract collections by selecting an implementation that conforms to the abstraction.

PJCampi commented 1 month ago

Hey @george-zubrienko, I am wondering whether you would have a few minutes at some point to have a look this tiny PR? It would be super helpful. Thanks!

george-zubrienko commented 1 month ago

Hey @PJCampi! I'll do it in the evening today - thanks a lot for keeping things in check!

george-zubrienko commented 3 weeks ago

@PJCampi released in 0.6.7