Need Advice(Parsing)

Discussion in 'iOS Programming' started by divyaprasad85, Nov 8, 2010.

  1. divyaprasad85 macrumors newbie

    Joined:
    Aug 31, 2010
    #1
    How to parse these JSON Data in iPhone.

    {"Result":{"Data":[{"Status":"Success"}]}}

    Please reply


    Thank You,
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    You have a number of options

    1) Use various NSString methods (componentsSeparatedByString: a few times would basically work)

    2) Use NSScanner to scan the string

    3) Use an external regexp library

    Note I'm not going to write "example" or "sample" code for any of this
     
  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
  4. divyaprasad85, Nov 9, 2010
    Last edited by a moderator: Nov 9, 2010

    divyaprasad85 thread starter macrumors newbie

    Joined:
    Aug 31, 2010
    #4
    Thank You for reply

    Thank You reply
     

Share This Page