Skip to content

Comment on Unveiling Play 2.1 JSON API Bonus: JSON Inception with Scala 2.10 macros

Comments

I've been using Jerkson (a layer on top of the excellent Jackson JSON processing library) to do case class marshalling/unmarshalling. It works quite well - in fact, nearly perfectly, but it still uses runtime type inspection to get things done. A nice, simplistic typesafe compiled parser would be ideal.

I'd love it if the play folks would break this out of the core library - it seems like this would be applicable to the whole Scala ecosystem, and not just Play.

Isn't Jerkson abandoned?

There are a few github forks that have added a couple useful things. For my use case (converting case classes to/from JSON in scala 2.9.2) it works perfectly.

I've also written a Jackson plugin that knows how to marshal POSO classes - it's just an introspector that uses the scala convention instead of the JavaBeans convention. By and large it works well - perhaps I should put it up on github.

Not really alive at least and not compiled for Scala 2.10

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.