All Questions
12 questions
0
votes
1
answer
49
views
JSON data - How to parse?
Suppose I have data in JSON. How can I parse the data so I can get the values of nested objects (e.g. kind, id and title)?
My JSON data is:
{
"kind": "youtube#playlistItemListResponse",
"items": ...
-1
votes
2
answers
736
views
Part of JSON response from server is returning null: Android
I am trying to fetch data from the server and then display it into the app.
I have JSON data as,
{"COLUMNS":["TIMEID","BRANCHID","COMPANYID","MON_O","TUE_O","WED_O","THU_O","FRI_O","SAT_O","SUN_O","...
0
votes
2
answers
651
views
JSON Data Parsing Error the response from server becomes null: Android
I am trying to fetch data from the server and then display it into the app.
I have JSON data as,
{"COLUMNS":["TIMEID","BRANCHID","COMPANYID","MON_O","TUE_O","WED_O","THU_O","FRI_O","SAT_O","SUN_O","...
0
votes
1
answer
93
views
Determine if an Object is an array or a string
I have some JSON data being returned from the server.
Sometimes the data is an Array other times, it returns an empty string (yes, I know it should return an empty array).
So I need to check FIRST if ...
0
votes
5
answers
10k
views
Android: Dynamically Get JSON Array Key Name From JSON
I have a json link, if we open it I get a following result
{
"Status": "Success",
"All_Details": [{
"Types": "0",
"TotalPoints": "0",
"ExpiringToday": 0
}],
"First": [{
"id": "0",
...
1
vote
4
answers
2k
views
how to parse Json Array Inside Json Array in android
I want to know how to parse JSON array inside into another JSON array.I am new in android developing please help me and Thanks in advance.my web service url
here my code:-
public class ...
-1
votes
1
answer
110
views
How to design layout of JSON Array inside another JSON Array in Android
I want to set Json array data inside another json array data into XML Layout but how is design I am new in android developing Please help me solve this problem my layout is here:-
<?xml version="1....
0
votes
2
answers
74
views
Separate array from json and store to db
I have a json coming from web server as follows:
"data": {
"classes": [
{
"subject_name": "Chemistry",
"class_id": "48",
"...
0
votes
1
answer
4k
views
JsonArray to List in Java
I have a problem with parsing JsonArray response.
I take JsonObject from JsonArray, parse it and set in entity message and then that message add to ArrayList.
Problem is that in ArrayList that I ...
3
votes
3
answers
16k
views
How to extract values from JSONObject in android
1.I am having json object like this how can i get the access to all values in android
2.before anyone down voting that i want to say i have searched stackoverflow for similar examples but those ...
2
votes
1
answer
922
views
Sending string arrays to php
I want to send string array to php by Json and retrieve there.
String[] Books = {"book1", "book2", "book3", "book4",..};
In Json:
List<NameValuePair> nameValuePairs = new ArrayList<...
3
votes
2
answers
5k
views
Android JSONArray looping
This is the result I am getting from a webservice
"year":["2014","2013","2012","2011","2010","2009","2008","2007","2006","2005","2004","2003","2002","2001","2000","1999","1998","1997","1996","1995","...