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 /README.markdown | |
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 'README.markdown')
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 5180617..1573322 100644 --- a/README.markdown +++ b/README.markdown @@ -48,7 +48,7 @@ and do one or more of the following: 1. Parse a JSON string into its Abstract Syntax Tree (AST) representation ```scala val source = """{ "some": "JSON source" }""" -val jsonAst = source.asJson // or JsonParser(source) +val jsonAst = source.parseJson // or JsonParser(source) ``` 2. Print a JSON AST back to a String using either the `CompactPrinter` or the `PrettyPrinter` |