From df6863a973b1a2ded68e07eddbb9a2baa8daf169 Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Wed, 12 Mar 2014 14:35:24 +0100 Subject: rename asJson => parseJson, fixes #89 --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.markdown') 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` -- cgit v1.2.3