Tagged Questions
1
vote
1answer
18 views
Get Boolean Value from Reddit .JSON Parse
The file can be viewed here. I am parsing for the attribute "likes" but I am getting <null> even when I have liked the post. I am 100% sure my modhash is valid, and when I view the file I can ...
0
votes
1answer
13 views
How to get HTTP response with AFJSONRequestOperation
Sending json data to server and want to get correct response.statusCode from server with AFNetworking
server:
// Helper method to send a HTTP response code/message
function sendResponse($status = ...
-1
votes
2answers
20 views
Where can I find RestKit Post sourcecode or tutorials?
I am trying to find some documentation on how to POST to an api with RestKit. I have not been able to find any good tutorial or direction. I can GET json data and display it on an iphone app - but I ...
0
votes
1answer
40 views
Why data added in to array multiple times?
I load data from json and then add it to nsmutablearray like this:
- (void)loadData
{
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
...
0
votes
2answers
40 views
How to retrieve PHP array in iOS
I want to retrieve data from Array in iOS sent from PHP webservice. Following is the structure of the Array:
[
{
"fullname": "Kate Bell",
"email": "[email protected]"
},
{
...
0
votes
1answer
14 views
Nested Dictionary with RestKit 0.2.0
I'm trying to process a rest response containing a nested dictionary using RestKit 0.20. here is the json response that I'm trying to process:
{
"name": "Tom",
"msgTo": "Hi ",
"msgFrom": "Hey",
...
0
votes
1answer
54 views
iOS 5 Json Serialization
I have used JSON Serialization to get json response, here i'mn getting all fine, but when i need to post some values as key value pair with the URL. I have done like this, but didn't get the result.
...
1
vote
1answer
31 views
Parsing JSON in iOS, inner dictionaries
I am new to JSON and iOS, I have some json data that I want to load into an array,
This is the json data
{
"items": [
{
"name": "abc",
"description": "cheeseburger",
...
0
votes
2answers
30 views
Converting JSON Data from NSData to NSDictionary
I have a PHP service that returns me the following response in NSData format. After converting the same into NSString using:
NSString *html = [[NSString alloc] initWithData:data ...
1
vote
3answers
79 views
Displaying JSON objects
I've done the Raywenderlich tutorial about JSON in iOS but I got difficulties to adapt it to my own JSON file. Here is my JSON:
{
"Albumvideo":[
{
"titre": "Publicité",
...
0
votes
0answers
20 views
can i implement facebook/twitter login in reddit login api
i am developing iPhone Application and i want to implement Sign in through Facebook/twitter account is it possible user can sign in Reddit through Facebook/twitter account.
-2
votes
0answers
56 views
Use of NSArray in UITableView [closed]
I am using a string of JSON values to display data in a table. I understand that the question of converting JSON to an NSArray has been answered before. However, I need some help in this particular ...
1
vote
2answers
3k views
Print keys of NSDictionary instead of values
I download some content from a json webservice.
Is it possible print the keys and not the values instead? For the eventuality of not knowing what the keys are.
0
votes
4answers
7k views
How do I fetch data from URL, using xcode 4.3.1 with NSJSONSerialization Class Reference
I am trying to get my head around the NSJSONSerialization Class Reference. In the lack of a code-example at the developer.apple.com website, I´m lost.
There are millions of examples all around the web ...
52
votes
8answers
76k views
iPhone/iOS JSON parsing tutorial
As a learning experience, I want to make an iphone application that calls a webserver/webservice, retrieves a JSON response, and uses that response to populate the rows of a UITableView (assuming it ...