I get this this nice message when the companyTwo value in my datastore is blank:
09-09 15:13:52.927: W/System.err(31091): org.json.JSONException: No value for companyTwo
What would be a good way to handle this assuming I can only pull from the datastore instead of post a filler value?
private static final String TAG_COMPANY ="company";
private static final String TAG_OTHERCOMPANY ="companyTwo";
String company1 = jsonObj1.getString(TAG_COMPANY);
String othercompany1 = jsonObj1.getString(TAG_OTHERCOMPANY);