File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
src/main/java/com/github/webee/json Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff 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.3.1 '
18+ compile 'com.github.webee:java-json-api:v1.4.0 '
1919 }
2020 ```
Original file line number Diff line number Diff line change 11package com .github .webee .json ;
22
3+ import java .math .BigDecimal ;
4+ import java .math .BigInteger ;
5+
36/**
47 * Created by webee on 16/11/25.
58 */
@@ -12,9 +15,11 @@ public interface JSONArray {
1215 Object [] get ();
1316 Object get (int index );
1417 Boolean getBoolean (int index );
18+ BigDecimal getBigDecimal (int index );
19+ BigInteger getBigInteger (int index );
20+ Double getDouble (int index );
1521 Integer getInteger (int index );
1622 Long getLong (int index );
17- Double getDouble (int index );
1823 String getString (int index );
1924 JSONArray getArray (int index );
2025 JSONObject getObject (int index );
Original file line number Diff line number Diff line change 11package com .github .webee .json ;
22
3+ import java .math .BigDecimal ;
4+ import java .math .BigInteger ;
35import java .util .Map ;
46import java .util .Set ;
57
@@ -16,9 +18,11 @@ public interface JSONObject {
1618 Map <String , Object > get ();
1719 Object get (String key );
1820 Boolean getBoolean (String key );
21+ BigDecimal getBigDecimal (String key );
22+ BigInteger getBigInteger (String key );
23+ Double getDouble (String key );
1924 Integer getInteger (String key );
2025 Long getLong (String key );
21- Double getDouble (String key );
2226 String getString (String key );
2327 JSONArray getArray (String key );
2428 JSONObject getObject (String key );
You can’t perform that action at this time.
0 commit comments