GithubHelp home page GithubHelp logo

Comments (6)

travisbrown avatar travisbrown commented on June 24, 2024

I've been resisting adding macros to circe, but the seal is broken now, so I think we should consider this.

We'd have to change the language in the first item in the design doc a bit. The prohibition against annotations there is primarily intended to target member-level annotations, though, and I don't think this kind of thing (where the macro annotation is just nice syntax for semiauto definitions) is so bad.

We'd probably want something like @ConfiguredJsonCodec[C] in addition to @JsonCodec (or whatever they end up being called).

Are you interested in adding this, @dwijnand? I'm not sure I'd be able to get to it for a week or so.

from circe.

dwijnand avatar dwijnand commented on June 24, 2024

I'm not against rolling up my sleeves and contributing, but I've a stack of sbt things I'd like to tend to, so I don't think I'll be able to get to it in a week or so.

from circe.

ngbinh avatar ngbinh commented on June 24, 2024

This is something we love to have also.

from circe.

dwijnand avatar dwijnand commented on June 24, 2024

Initial support for this is now in master (via #203).

Support for a proposed @ConfiguredJsonCodec[C] one could say is blocked on still pending #164.

from circe.

dwijnand avatar dwijnand commented on June 24, 2024

I should rivisit the tail part of this given #429 is merged.

from circe.

travisbrown avatar travisbrown commented on June 24, 2024

#429 includes @ConfiguredJsonCodec so I think we can close this.

from circe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.