JSON.parse error

Discussion in 'Javascript' started by Rahul Mehta, Aug 2, 2010.

  1. Rahul Mehta

    Rahul Mehta Guest

    i am getting this error i have included the json2.js from this
    url :http://www.json.org/json2.js
    JSON.parse
    [Break on this error] myData = JSON.parse(data, function (key, value)
    {

    please help why this error is coming ...

    thanks

    rahul
     
    Rahul Mehta, Aug 2, 2010
    #1
    1. Advertisements

  2. Rahul Mehta

    David Mark Guest

    On Aug 2, 1:12 am, Rahul Mehta <> wrote:
    > i am getting this error i have included the json2.js  from this
    > url :http://www.json.org/json2.js
    > JSON.parse
    > [Break on this error] myData = JSON.parse(data, function (key, value)
    > {
    >
    > please help why this error is coming ...
    >


    Ahem, Presto Change-o! Try it now...
     
    David Mark, Aug 2, 2010
    #2
    1. Advertisements

  3. Rahul Mehta wrote:
    > i am getting this error i have included the json2.js  from this
    > url :http://www.json.org/json2.js
    > JSON.parse
    > [Break on this error] myData = JSON.parse(data, function (key, value)
    > {
    >
    > please help why this error is coming ...


    You did not provide enough information. Can you post the JSON string
    and the rest code of callback function?
     
    Asen Bozhilov, Aug 2, 2010
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gavri Fernandez

    Syck parse error for JSON

    Gavri Fernandez, Mar 25, 2006, in forum: Ruby
    Replies:
    0
    Views:
    182
    Gavri Fernandez
    Mar 25, 2006
  2. Jonathan Rochkind

    JSON.parse and unicode escape?

    Jonathan Rochkind, Aug 27, 2008, in forum: Ruby
    Replies:
    3
    Views:
    856
    Pascal Wever
    Oct 1, 2008
  3. Florian Frank
    Replies:
    0
    Views:
    480
    Florian Frank
    Jun 30, 2009
  4. Douglas Crockford

    JSON.parse

    Douglas Crockford, Dec 29, 2005, in forum: Javascript
    Replies:
    7
    Views:
    223
    Thomas 'PointedEars' Lahn
    Dec 29, 2005
  5. sajuptpm
    Replies:
    2
    Views:
    732
    sajuptpm
    Dec 28, 2012
  6. Acácio Centeno
    Replies:
    1
    Views:
    687
    dieter
    Feb 15, 2013
  7. Bryan Britten
    Replies:
    9
    Views:
    558
    Bryan Britten
    May 28, 2013
  8. David Karr
    Replies:
    1
    Views:
    357
    David Karr
    Jun 17, 2013
Loading...