diff options
author | Johannes Rudolph <johannes.rudolph@gmail.com> | 2014-03-12 14:35:24 +0100 |
---|---|---|
committer | Johannes Rudolph <johannes.rudolph@gmail.com> | 2014-03-12 14:36:48 +0100 |
commit | df6863a973b1a2ded68e07eddbb9a2baa8daf169 (patch) | |
tree | e0a99df5e9b7015e924e50f4c7c13550727e476d /src/test/scala/spray/json/ReadmeSpec.scala | |
parent | 43d37d7cc08bb25957e6692baae0856ca1f522d4 (diff) | |
download | spray-json-df6863a973b1a2ded68e07eddbb9a2baa8daf169.tar.gz spray-json-df6863a973b1a2ded68e07eddbb9a2baa8daf169.tar.bz2 spray-json-df6863a973b1a2ded68e07eddbb9a2baa8daf169.zip |
rename asJson => parseJson, fixes #89
Diffstat (limited to 'src/test/scala/spray/json/ReadmeSpec.scala')
-rw-r--r-- | src/test/scala/spray/json/ReadmeSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/spray/json/ReadmeSpec.scala b/src/test/scala/spray/json/ReadmeSpec.scala index 89d3dbc..51a1ec5 100644 --- a/src/test/scala/spray/json/ReadmeSpec.scala +++ b/src/test/scala/spray/json/ReadmeSpec.scala @@ -25,7 +25,7 @@ class ReadmeSpec extends Specification { import DefaultJsonProtocol._ val source = """{ "some": "JSON source" }""" - val jsonAst = source.asJson + val jsonAst = source.parseJson jsonAst mustEqual JsObject("some" -> JsString("JSON source")) val json2 = jsonAst.prettyPrint |