×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2009
    Posts
    103

    JSON File parsing

    Hi

    How can we parse a json file in WRT.

    Thanks
    TJ

  2. #2
    Registered User
    Join Date
    Jul 2010
    Posts
    17

    Re: JSON File parsing

    I have tried a similar one and used eval() to convert a string to JSON. hope this could be useful.

    var str="{name:'abc',place:'def'}";
    var jsonObj=eval("("+str+")");;
    alert(jsonObj.name+":"+jsonObj.place);

  3. #3
    Regular Contributor
    Join Date
    Jun 2009
    Posts
    103

    Re: JSON File parsing

    Hi

    Thanx it's working

Similar Threads

  1. Json parsing
    By kalgi in forum Symbian
    Replies: 4
    Last Post: 2011-04-20, 11:42
  2. JSON parsing in QT?
    By sindhuks in forum Qt
    Replies: 7
    Last Post: 2011-03-29, 22:44
  3. Parsing wbxml file to xml file using kxml parser
    By ramyashashe in forum Mobile Java General
    Replies: 18
    Last Post: 2010-05-17, 15:56
  4. JSON Parsing
    By raja_salomo in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-09-25, 08:50
  5. Replies: 4
    Last Post: 2007-08-10, 02:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •