@nic
Thanks for the pointer to your benchmark!
While your results are definitely interesting I’d really recommend to move to JMH as a benchmark harness, [sbt-jmh](
https://github.com/ktoso/sbt-jmh) makes things really easy here.
JMH will help a lot in dealing with the many common benchmarking pitfalls on the JVM.
> My gut feel is that Akka.HTTP is getting ready for primetime, so building a new project on it should be safe.... hope I'm right.
Yes, things are getting better and better.
In fact we are in the process of finalising RC1 as we speak, so expect a pretty good release in the next days.
> I just want to know if the Spray Json library will be kept alive as part of Akka.Http (it's in there at the moment), or if one should start using Play Json. Don't know if it makes sense for TypeSafe to have to Json libraries in the long term or if they are really doing two different things.
spray-json is not part of Akka HTTP in the same way as it has never been part of the actual spray releases.
It is a stand-alone JSON library and will, for the time being, stay that way.
But you are right, it makes sense for Typesafe to unify things here and, in fact, such an initiative already exists.
The problem is that capacity is low on all fronts and higher prio project keep preventing progress here.
Hopefully this will change at some point.
> But I'm still confused myself about which library to pick for my projects. BTW, Spray also supports Lift/json4s, you might consider trying it too. As if there wasn't enough confusion!
At the time we started spray-json there wasn’t really any usable alternative. This has changed a lot since then and meanwhile it’s a question of your preferred style and priorities.
And while spray of course always supported spray-json we were always careful to also support alternatives as properly as possible.
This is why spray has out-of-the-box support for spray-json, list-json, play-json and JSON4S.
And writing the necessary glue code for supporting any other JSON solution is also not hard at all.
Akka HTTP will follow the same approach: provide out-of-the-box for all commonly used JSON libraries and make it easy to integrate your own.
Cheers,
Mathias
---
mat...@spray.io
http://spray.io
> --
> You received this message because you are subscribed to the Google Groups "
spray.io User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
spray-user+...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/spray-user.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/spray-user/3a2dc7ae-3444-48dc-960e-36b8d28fe6a2%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.