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. Advertising

  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. Advertising

  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. Advertising

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. Florian Frank
    Replies:
    0
    Views:
    243
    Florian Frank
    Jun 30, 2009
  2. sajuptpm
    Replies:
    2
    Views:
    344
    sajuptpm
    Dec 28, 2012
  3. Acácio Centeno
    Replies:
    1
    Views:
    258
    dieter
    Feb 15, 2013
  4. Bryan Britten
    Replies:
    9
    Views:
    264
    Bryan Britten
    May 28, 2013
  5. David Karr
    Replies:
    1
    Views:
    169
    David Karr
    Jun 17, 2013
Loading...

Share This Page