Skip to content

Commit d7484de

Browse files
authored
Update README.md
1 parent 17a634b commit d7484de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ Simply use: `foo.putPrimitive(value)` or `foo.putPrimitive(key, value)` or `foo.
66
You can also add items inline.
77

88
**Example**
9-
```
10-
EasyJSON json = EasyJSON.create("/easyJSON_example.json");
9+
```java
10+
EasyJSON json = EasyJSON.create("./easyJSON_example.json");
1111
json.putStructure("pets").putArray("dogs").putPrimitive("pug");
1212
json.search("pets", "dogs").putPrimitive("rottweiler");
1313
json.search("pets").putArray("cats", "i'm not a cat guy");
1414
```
1515
will result in a structure like this:
1616

1717
**easyJSON_example.json**
18-
```
18+
```json
1919
{
2020
"pets":{
2121
"cats":["i'm not a cat guy"],

0 commit comments

Comments
 (0)