Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JSON in Scala (deprecated)
Scala Shell Python
Branch: master

Prepare scala-json for new releases for Scala 2.10 and 2.11

Problem

There is no scala-json release for Scala 2.11. The primary obstacle is the fact
that there is no specs release for Scala 2.11, and the project uses specs for
its tests. There are also minor issues with the project's documentation, build,
licensing, etc.

Solution

I've migrated the tests from specs to ScalaTest, updated the documentation and
licenses, removed 2.9 from the SBT build, and added configuration for a Travis
CI build. The test migration is as literal as possible, and does not attempt to
address any issues with the specs tests apart from the fact that they were
written in specs.

Result

The project builds (with SBT) and tests pass for both 2.10 and 2.11. There are
no changes to the project code (apart from the tests) except for one addition to
a header and one stylistic change (de-relativizing an import).

RB_ID=534101
latest commit 5f1a8664bb
@travisbrown travisbrown authored

README.md

scala-json Build Status

This library is deprecated! It should not be used for new projects, and is maintained only because it is used in Twitter's Ostrich 9.x.

This project is a toolkit for working with JSON in Scala that is based on example code from Programming in Scala by Martin Odersky, Lex Spoon, and Bill Venners. We've tightened up some edge cases and added complete test coverage.

The original code and Twitter's modifications are available under the Apache License, Version 2.0.

Something went wrong with that request. Please try again.