什么是用于Eclipse的Scala 2.8.1的JSON序列化的好库 [英] What is a good library for JSON serialization for Scala 2.8.1 for use in Eclipse

查看:155
本文介绍了什么是用于Eclipse的Scala 2.8.1的JSON序列化的好库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看过 https://github.com/debasishg/sjson 并使用EGit我是无法为Scala 2.8.1导入此代码。

I have looked at https://github.com/debasishg/sjson and using EGit I was not able to import this code for Scala 2.8.1.

理想情况下,这看起来应该是最好的库,但是当我加载master时,它现在是空的。

Ideally, this seems to be the best library that should work, but when I loaded master it is currently empty.

我正在尝试使用Jersey( http://jersey.java .net )在Scala中构建一个REST服务,但是JSON序列化是我卡住的地方,因为我更喜欢使用Scala编写的东西。

I am trying to use Jersey (http://jersey.java.net) to build a REST service in Scala, but the JSON serialization is where I am stuck, as I would prefer to use something written in Scala.

不幸的是,Scala在 http://json.org/ 上没有任何内容。

Unfortunately there isn't anything for Scala at http://json.org/.

那么,如何导入SJSON以用于Scala 2.8.1,用于Eclipse,还是有更新的库可以使用?

So, how do I import SJSON for use in Scala 2.8.1, for Eclipse, or, is there a more updated library that would work as well?

推荐答案

如果您查看 repo ,您将看到 ginkel的sjson版本

If you look at the fork graph of that repo, you will see ginkel's version of sjson with:

  • a non-empty master branch (note: debasishg's master branch isn't empty as well)
  • 2.8.1. settings for the sbt build parameters.

这篇关于什么是用于Eclipse的Scala 2.8.1的JSON序列化的好库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆