TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

61 pointsby mandubianover 12 years ago

6 comments

dprattover 12 years ago
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.<p>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.
评论 #4811109 未加载
alanreidover 12 years ago
I love the idea! This makes a lot more sense than writing Formatters and repeating code everywhere. I'll play with this later today. Thanks!
评论 #4809188 未加载
mandubianover 12 years ago
If you have any question, don't hesitate to ask (or go to website and talk on disqus)...
xwowsersxover 12 years ago
This is awesome.<p>Something ironic about this though:<p>"As we are perfectionnist..."
评论 #4811641 未加载
jeremyjhover 12 years ago
Great work. This is a perfect application of Scala macros.
taligentover 12 years ago
Nice work. Play 2 needs a LOT of work to get back to the simplicity and elegance of Play 1. This sort of effort really helps that.
评论 #4808990 未加载
评论 #4808938 未加载
评论 #4811110 未加载