Linked Questions

187 votes
3 answers
588k views

How do I parse a JSON feed in Android?
iamlukeyb's user avatar
  • 6,567
100 votes
5 answers
467k views

I have JSON object as follows: member = "{interests : [{interestKey:Dogs}, {interestKey:Cats}]}"; In Java I want to parse the above json object and store the values in an arraylist. I am seeking ...
user469999's user avatar
  • 2,191
23 votes
3 answers
76k views

I'm trying to parse an output from a server that looks like this: { "GetFolderFilesByZoneResult": [ { "ID": 98748, "CreatedBy": "", "UpdatedBy": "none", "CreatedDate": "\...
Paul Ulrich's user avatar
13 votes
7 answers
46k views

I want to parse a JSON file in java and get the following values from the file mentioned below: { "status": "OK", "origin_addresses": [ "Vancouver, BC, Canada", "Seattle, État de Washington, ...
Kaushik Balasubramanain's user avatar
9 votes
5 answers
9k views

I have searched alot on JSON Parsing in Android, but couldn't quite convinced. Actually got a brief idea but not so clear yet regarding JSON Parsing. How to implement the JSON Parsing in the ...
David Brown's user avatar
  • 4,831
5 votes
5 answers
14k views

How can we read a JSON object in a JSP, Servlet or in any other Java program?
Sadesh Kumar N's user avatar
3 votes
3 answers
69k views

I cannot figure it out, I should deserialize a json object of this type: { "value":"integer", "total":"1", "records":"138", &...
exSnake's user avatar
  • 672
0 votes
2 answers
31k views

This is my json-string: [ { "id": 1, "ip": "192.168.0.22", "folderName": "gpio1_pg3" }, { "id": 2, "ip": "192.168.0.22", "folderName": "...
Andreas Fritsch's user avatar
1 vote
2 answers
33k views

I'm having trouble in thinking up a way of parsing this type of JSON. I need to be able to access both data and message separately after getting this response inside my application. { "data": [ ...
Svajunas Kavaliauskas's user avatar
1 vote
2 answers
24k views

I am now want to read a series of JSON data(Nodes data) from local txt file(shown below, NODES.txt ). I use javax.json to do this. Currently, I have a Node class which contains the attributes:type, ...
Thomas Hu's user avatar
4 votes
1 answer
11k views

i want convert json values to ArrayList objects in java...., i have: {"Products":[ { "id":001, "name":"mouse" }, { "id":002, "name":"Monitor" } ]} // model Public ...
Danilo's user avatar
  • 91
0 votes
2 answers
15k views

I want to read Json file. My Json File has Content as follow [ { "arguments" : [ { "IsEnabled" : "false", "class" : "UITextField", "width" : 238, "parent" ...
Ruby's user avatar
  • 103
1 vote
4 answers
2k views

I am fetching data from the database as a JSON String: {"companyName":"abcd","address":"abcdefg"} How can I extract the company name from the given JSON String?
user3415447's user avatar
0 votes
1 answer
14k views

I've read some other questions about this, but they did not seem to help me. As the title says, I want to know how to read from .json files using Java. Eg. I want my program to read a boolean value. (...
ApplePie's user avatar
1 vote
2 answers
4k views

I have a very complicated String which looks like below, "data":"[ { "id": "123456", "from": { "name": "ABC", "id": "123" ...
ashubhargave's user avatar

15 30 50 per page
1
2 3 4 5
50