TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

61 点作者 mandubian超过 12 年前

6 条评论

dpratt超过 12 年前
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 未加载
alanreid超过 12 年前
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 未加载
mandubian超过 12 年前
If you have any question, don't hesitate to ask (or go to website and talk on disqus)...
xwowsersx超过 12 年前
This is awesome.<p>Something ironic about this though:<p>"As we are perfectionnist..."
评论 #4811641 未加载
jeremyjh超过 12 年前
Great work. This is a perfect application of Scala macros.
taligent超过 12 年前
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 未加载