You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuAbstractJsonContainer.java 665B

1234567891011121314151617181920
  1. package com.luticate.utils.dbo.JSONContainer;
  2. import org.json.JSONArray;
  3. import org.json.JSONException;
  4. import org.json.JSONObject;
  5. /**
  6. * Created by robin on 10/21/16.
  7. */
  8. public interface LuAbstractJsonContainer {
  9. int getInt(Object key) throws JSONException;
  10. String getString(Object key) throws JSONException;
  11. long getLong(Object key) throws JSONException;
  12. double getDouble(Object key) throws JSONException;
  13. boolean getBoolean(Object key) throws JSONException;
  14. JSONObject getJSONObject(Object key) throws JSONException;
  15. JSONArray getJSONArray(Object key) throws JSONException;
  16. boolean isNull(Object key) throws JSONException;
  17. }