Added: 1 year ago
From: ConnorAlves
Views: 15,775
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (35)

Sign In or Sign Up now to post a comment!
  • I would like to link rather than copy the json class files into my project.

  • I can see stir-json-framework folder in my download directory. How do I install it to the mac? Do you copy files to a specific directory.

  • How do I download and install the Json framework. json-framework Do I press the Clone in Mac button

  • Do you have the Xcode files for this including JSON because it does not seem to work. The php json parse works but this doesn't.

  • Good tutorial. Just what I needed to get going on the framework.

  • Thanks. Good video. IF you could zoom a little bit in your next videos, it would be nice to see the stuff you are typing.

  • With this tutorial you truly saved my bacon. Thanks!

    In the latest version of SBJson, it is as crimsonBen says. Use

    #import "SBJson.h"

    and

    SBJsonParser *parser = [[SBJsonParser alloc] init];

    Also if parsing a multidimensional array with keys, you can use

    echo json_encode($myArray, JSON_FORCE_OBJECT);

    along with NSDictionary instead of NSArray

  • Good video, thanks for posting.

  • Thank you so much. I am a Java Developer who creates a lot of RESTful services for various companies and I have been looking to develop some prototypes for consuming these services on the iPhone and iPad and till this I had to do SAX parsing which was way too heavy. I was having some trouble getting started with the SBJSON libraries and this did the trick. Well done and many thanks!

  • @rincexwind Thank you! I'm glad this tutorial was helpful to you!

  • lol its funny because the guy who made the video had NOOOO experience in PHP. "uh the json encode function, uh thats really helpful"

  • @hackthatmac I do have experience with PHP, that is why I was using it within this tutorial. Also, you could check out some of my very old tutorials that are PHP-specific. Since you don't know how to use the appropriate "it's" for "it is", does that mean that you have no experience in English???

  • Hey folks!! IF SBJSON does not work use "SBJsonParser"

    cheers

    thx for this nice tut!

  • Has anyone found a fix for SBJSON?

    I get two errors on the line: SBJSON *parser = [[SBJSON alloc] init];

    Can somebody assist on this?

    Thanks

  • @arf26 I have the same problem... Since 4 days im trying see in the table of Iphone the PHP Array and I couldn´t do it yet... Few Information about this...

  • @Patrick181818 hey mate, I got Json working... It's from a tutorial. PM me...

  • @arf26 OK!!!!!!! =)

  • @arf26 Can you show me this please?!??!?!!

  • Thanks for the tutorial... Which SBJson version did you use? I downloaded a couple different versions but non of them would take SBJSON in: SBJSON *parser = [[SBJSON alloc] init];

    error: 'SBJSON' undeclared (first use in this function)

  • Comment removed

  • Comment removed

  • Comment removed

  • thanks @knitsu ! i'll be sure to check this :)

  • great tutorial, I am interested in using the JSON data for 3 various UILabels in a IUViewController rather then a UITableView

    any idea where to start ?? I know the basic connection would need to be made to deserialize the information, however trying to print the dict object for key @"" is not working

    however I can NSLOG the data retreived from the NSURL and it loads fine

    any idea why each indiviual part will not go on a UILable ?? or how to do this ?

  • hi!! great tutorial!! but i cant make it work.

    the program isn't detecting SBJSON in rootviewcontroller.m :(

    exactly at the line: SBJSON *parser = [[SBJSON alloc] init];

    could you help me please?? and merry christmas (almost)

    *i added all the JSON files and everything, it's just saying SBJSON undeclared, i feel like the new JSON files changed in some way :(

  • @coikii the framework you grabbed is an older version, I had the same troubles not with this tutorial, but one identically the same to it

  • Comment removed

  • Comment removed

  • million billion thanks .. very helpful tutorial ..

  • I am not getting the list......all blank. Is there a specific set of JSON files for this app? Or is there a setting in the JSON files that needs to be modified?

    I need help!

  • Thanks for the useful tutorial!

  • Spent all day trying to get JSON playing nice with tableview and never succeeded until I found your video - thanks! Made it all seem so simple! I need to pull in a multi-dimensional array - how would I go about pulling this in, then using the 'title' field to populate the cell? Thanks again, agazad

  • @agazad You would be able to parse the multi-dimensional JSON array just as it is shown in this tutorial, so something like this NSArray *myArray = (NSArray *)[parser objectWithString:myString error:@selector(myErrorCallbac­k)];

    Then, NSArray *nextArray = [myArray objectAtIndex:0]; would grab an array within the "myArray" variable.

    So, it does not matter how many dimensions there are to the array, you can continue to grab the separate arrays within each array as you would with any other array.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more