Skip to content

Commit bd7e050

Browse files
committed
update.
1 parent 5b914f9 commit bd7e050

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ To install the library add:
1515
maven { url "https://jitpack.io" }
1616
}
1717
dependencies {
18-
compile 'com.github.webee:java-json-api:v1.1.0'
18+
compile 'com.github.webee:java-json-api:v1.2.0'
1919
}
2020
```

src/main/java/com/github/webee/json/JSON.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
package com.github.webee.json;
22

3+
import java.util.Map;
4+
35
/**
46
* Created by webee on 16/11/25.
57
*/
68
public interface JSON {
79
JSONObject newObject();
10+
JSONObject newObject(Map<String, Object> map);
811
JSONArray newArray();
12+
JSONArray newArray(Object[] array);
913
Object parse(String text);
1014
JSONObject parseObject(String text);
1115
JSONArray parseArray(String text);

0 commit comments

Comments
 (0)