GithubHelp home page GithubHelp logo

Comments (5)

travisbrown avatar travisbrown commented on July 22, 2024 1

Thanks for the report! I'm at a conference today but I'll take a look this evening.

from circe.

djx314 avatar djx314 commented on July 22, 2024

Oh, I forgot it, when decode a case class like it provide above, it used to provide some Decoder of the class that defined in properties sometimes(Just sometimes and I don't know when). It looks like the same as the json encode problem above.

from circe.

alexarchambault avatar alexarchambault commented on July 22, 2024

@travisbrown I tried to port my latest developments from argonaut-shapeless here, see https://github.com/alexarchambault/circe/commits/topic/generic. These seem to fix this issue, but rely on new developments in shapeless (milessabin/shapeless#435), not merged in mainline yet.

I've been trying to fix it without overhauling the generic module, without success (fixing it was breaking other things), but hopefully you'll have more luck than me at this.

I tried to use export-hook too, which didn't work either, but I haven't investigated much the problem.

from circe.

travisbrown avatar travisbrown commented on July 22, 2024

Thanks, @alexarchambault! I'd like to spend a little bit of time understanding what's going on in your generic branch, and how it relates to export-hook, and since I'm at Scala by the Bay today that probably won't happen until tomorrow.

I've also just created #36 and #37 to highlight some issues related to ObjectEncoder and tuple instances, which I think complicates some things and simplifies others.

from circe.

travisbrown avatar travisbrown commented on July 22, 2024

The error message situation is a little better after #43, but it doesn't fix this and the message still isn't great:

// Exiting paste mode, now interpreting.

<console>:38: error: could not find implicit value for parameter e: io.circe.Encoder[Bbbbb]
       kk.asJson
          ^

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.