News for hackers. Stuff that matters.
Re:Taking PHP Seriously by Aqueous on Tuesday January 14, 2014 @11:27AM (#7057850)
That's true about JSON - it can be quite tedious if you have to write JSON reads and writes for things like JSON validation. But Play can autogenerate the reads/writes combinators for cases where validation isn't needed, so it ends up being as simple as putting a JsonFormatter in your companion object for a case class - 1 line. Play (and Jerkson) usually knows what to do with it, assuming all nested classes have json formatters in their companion objects, too.

I am just glad to be done with PHP.

Re:Taking PHP Seriously by virtualwhys on Tuesday January 14, 2014 @12:17PM (#7058233)
Agreed, Scala JSON libs are taking the a lot of the boilerplate pain away, but still not quite at the foo.toJson stage.

> I am just glad to be done with PHP

shhhh, this is, you know, a PHP thread ;-)