Classes | |
class | InvalidJSONQuery |
Static Public Member Functions | |
static JSONObject | encodeResult (Hashtable< String, Term > bindings) |
static Query | makeQuery (String json) throws InvalidJSONQuery |
Static Package Functions | |
static Term[] | decodeJSONArray (JSONArray val) throws InvalidJSONQuery |
static Term | decodeJSONValue (String val) |
static Term | decodeJSONValue (boolean val) |
static Term | decodeJSONValue (double val) |
static Term | decodeJSONValue (int val) |
static Term | decodeJSONValue (JSONObject val) throws InvalidJSONQuery |
static Term | makeCompoundTerm (JSONArray val) throws InvalidJSONQuery |
Static Private Member Functions | |
static Term[] | decodeJSONArray (JSONArray val, int startIndex) throws InvalidJSONQuery |
static JSONObject | encodeCompoundTerm (Term term) |
static JSONArray | encodeList (Term term) throws JPLException |
static JSONArray | encodeList (Term[] term_list) throws JPLException |
static boolean | isList (Term term) |
Definition at line 41 of file JSONQuery.java.
static Term [] edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONArray | ( | JSONArray | val | ) | throws InvalidJSONQuery [inline, static, package] |
Definition at line 117 of file JSONQuery.java.
static Term [] edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONArray | ( | JSONArray | val, |
int | startIndex | ||
) | throws InvalidJSONQuery [inline, static, private] |
Definition at line 121 of file JSONQuery.java.
static Term edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONValue | ( | String | val | ) | [inline, static, package] |
Definition at line 148 of file JSONQuery.java.
static Term edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONValue | ( | boolean | val | ) | [inline, static, package] |
Definition at line 159 of file JSONQuery.java.
static Term edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONValue | ( | double | val | ) | [inline, static, package] |
Definition at line 164 of file JSONQuery.java.
static Term edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONValue | ( | int | val | ) | [inline, static, package] |
Definition at line 168 of file JSONQuery.java.
static Term edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.decodeJSONValue | ( | JSONObject | val | ) | throws InvalidJSONQuery [inline, static, package] |
Definition at line 172 of file JSONQuery.java.
static JSONObject edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.encodeCompoundTerm | ( | Term | term | ) | [inline, static, private] |
Definition at line 185 of file JSONQuery.java.
static JSONArray edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.encodeList | ( | Term | term | ) | throws JPLException [inline, static, private] |
Definition at line 199 of file JSONQuery.java.
static JSONArray edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.encodeList | ( | Term[] | term_list | ) | throws JPLException [inline, static, private] |
Definition at line 204 of file JSONQuery.java.
static JSONObject edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.encodeResult | ( | Hashtable< String, Term > | bindings | ) | [inline, static] |
Definition at line 65 of file JSONQuery.java.
static boolean edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.isList | ( | Term | term | ) | [inline, static, private] |
Definition at line 225 of file JSONQuery.java.
static Term edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.makeCompoundTerm | ( | JSONArray | val | ) | throws InvalidJSONQuery [inline, static, package] |
Definition at line 88 of file JSONQuery.java.
static Query edu.tum.cs.ias.knowrob.json_prolog.JSONQuery.makeQuery | ( | String | json | ) | throws InvalidJSONQuery [inline, static] |
Definition at line 54 of file JSONQuery.java.