Skip to content

Commit

Permalink
add serialize method.
Browse files Browse the repository at this point in the history
  • Loading branch information
webee committed Dec 19, 2016
1 parent b33ba07 commit 19847e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ To install the library add:
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.webee:java-json-api:v2.1.0'
compile 'com.github.webee:java-json-api:v2.2.0'
}
```
1 change: 1 addition & 0 deletions src/main/java/com/github/webee/json/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public interface JSON {
WritableJSONObject newObject(Map<String, Object> map);
WritableJSONArray newArray();
WritableJSONArray newArray(Object[] array);
String serialize(Object value);
// parse to JSON domain types.
Object parse(String text);
JSONObject parseObject(String text);
Expand Down

0 comments on commit 19847e6

Please sign in to comment.