Skip to content

Commit

Permalink
Fixing typos in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
jniesen committed May 5, 2014
1 parent 72a4a9e commit ee25300
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Usage in a Build Flow DSL:

```groovy
def parser = extension."build-flow-json-parser-extension"
def lunch = parser.parseTest("{\"food\": [{\"name": \"pb and j\", \"ingredients\": [\"bread\", \"peanut butter\", \"jelly\"]}]}")
out.println(lunch.food.name) //=> pb and j
```
def lunch = parser.parseText("{\"food\": [{\"name\": \"pb and j\", \"ingredients\": [\"bread\", \"peanut butter\", \"jelly\"]}]}")
out.println(lunch.food.name) //=> [pb and j]
```

0 comments on commit ee25300

Please sign in to comment.