We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b914f9 commit bd7e050Copy full SHA for bd7e050
README.md
@@ -15,6 +15,6 @@ To install the library add:
15
maven { url "https://jitpack.io" }
16
}
17
dependencies {
18
- compile 'com.github.webee:java-json-api:v1.1.0'
+ compile 'com.github.webee:java-json-api:v1.2.0'
19
20
```
src/main/java/com/github/webee/json/JSON.java
@@ -1,11 +1,15 @@
1
package com.github.webee.json;
2
3
+import java.util.Map;
4
+
5
/**
6
* Created by webee on 16/11/25.
7
*/
8
public interface JSON {
9
JSONObject newObject();
10
+ JSONObject newObject(Map<String, Object> map);
11
JSONArray newArray();
12
+ JSONArray newArray(Object[] array);
13
Object parse(String text);
14
JSONObject parseObject(String text);
JSONArray parseArray(String text);
0 commit comments