![]() |
Hubiquitus Android
0.3
Android client for hubiquitus protocol
|
Public Member Functions | |
HJsonDictionnary () | |
HJsonDictionnary (JSONObject jsonObj) | |
Object | get (String key) |
void | put (String key, Object value) |
JSONObject | toJSON () |
void | fromJSON (JSONObject jsonObj) |
String | getHType () |
String | toString () |
boolean | equals (Object obj) |
int | hashCode () |
Definition at line 32 of file HJsonDictionnary.java.
Definition at line 36 of file HJsonDictionnary.java.
org.hubiquitus.hapi.util.HJsonDictionnary.HJsonDictionnary | ( | JSONObject | jsonObj | ) |
Definition at line 40 of file HJsonDictionnary.java.
boolean org.hubiquitus.hapi.util.HJsonDictionnary.equals | ( | Object | obj | ) |
Implements org.hubiquitus.hapi.hStructures.HJsonObj.
Definition at line 97 of file HJsonDictionnary.java.
void org.hubiquitus.hapi.util.HJsonDictionnary.fromJSON | ( | JSONObject | jsonObj | ) |
Deserialize object from Json
jsonObj |
Implements org.hubiquitus.hapi.hStructures.HJsonObj.
Definition at line 82 of file HJsonDictionnary.java.
Object org.hubiquitus.hapi.util.HJsonDictionnary.get | ( | String | key | ) |
Definition at line 44 of file HJsonDictionnary.java.
Implements org.hubiquitus.hapi.hStructures.HJsonObj.
Definition at line 87 of file HJsonDictionnary.java.
Implements org.hubiquitus.hapi.hStructures.HJsonObj.
Definition at line 102 of file HJsonDictionnary.java.
void org.hubiquitus.hapi.util.HJsonDictionnary.put | ( | String | key, |
Object | value | ||
) |
Only objects allowed are : String, JSONObject, JSONArray, HJsonObj, Boolean, Integer, Double, Calendar. If not one of the types, object is not stored
key | |
value |
Definition at line 60 of file HJsonDictionnary.java.
JSONObject org.hubiquitus.hapi.util.HJsonDictionnary.toJSON | ( | ) |
Implements org.hubiquitus.hapi.hStructures.HJsonObj.
Definition at line 77 of file HJsonDictionnary.java.
Implements org.hubiquitus.hapi.hStructures.HJsonObj.
Definition at line 92 of file HJsonDictionnary.java.