Git Product home page Git Product logo

Comments (5)

hseeberger avatar hseeberger commented on August 15, 2024

Never used ...extras. Why would you want to do that?

from akka-http-json.

mazorigal avatar mazorigal commented on August 15, 2024

well, simply because it have extra stuff :-)
for example
implicit val customConfig: Configuration = Configuration.default.withSnakeCaseKeys which allow to control how the json keys would look like

from akka-http-json.

prascuna avatar prascuna commented on August 15, 2024

@mazorigal not sure if that might help, but this is how I'm getting snake case:

A trait to be mixed in your routes:
https://github.com/prascuna/scala-pills/blob/master/04-sample-rest-service/src/main/scala/scalapills/sample/routes/JsonSupport.scala

and your Configuration inside your DTOs package object
https://github.com/prascuna/scala-pills/blob/master/04-sample-rest-service/src/main/scala/scalapills/sample/models/package.scala

I don't manually import FailFastCirceSupport._

from akka-http-json.

hseeberger avatar hseeberger commented on August 15, 2024

Is this still an issue?

from akka-http-json.

mazorigal avatar mazorigal commented on August 15, 2024

@prascuna Thanks,
I would try it.

from akka-http-json.

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.