Skip to content

Commit 4a8fcac

Browse files
committed
Small fix in README
1 parent 43a2319 commit 4a8fcac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,26 +45,26 @@ import DefaultJsonProtocol._ // !!! IMPORTANT, else `convertTo` and `toJson` won
4545

4646
and do one or more of the following:
4747

48-
1. Parse a JSON string into its Abstract Syntax Tree (AST) representation
48+
*. Parse a JSON string into its Abstract Syntax Tree (AST) representation
4949

5050
```scala
5151
val source = """{ "some": "JSON source" }"""
5252
val jsonAst = source.parseJson // or JsonParser(source)
5353
```
5454

55-
2. Print a JSON AST back to a String using either the `CompactPrinter` or the `PrettyPrinter`
55+
*. Print a JSON AST back to a String using either the `CompactPrinter` or the `PrettyPrinter`
5656

5757
```scala
5858
val json = jsonAst.prettyPrint // or .compactPrint
5959
```
6060

61-
3. Convert any Scala object to a JSON AST using the pimped `toJson` method
61+
*. Convert any Scala object to a JSON AST using the pimped `toJson` method
6262

6363
```scala
6464
val jsonAst = List(1, 2, 3).toJson
6565
```
6666

67-
4. Convert a JSON AST to a Scala object with the `convertTo` method
67+
*. Convert a JSON AST to a Scala object with the `convertTo` method
6868

6969
```scala
7070
val myObject = jsonAst.convertTo[MyObjectType]

0 commit comments

Comments
 (0)