1. #1
    Ext User
    Join Date
    Feb 2008
    Posts
    1
    Vote Rating
    0
    karthik is on a distinguished road

      0  

    Question toJSONString giving error

    toJSONString giving error


    Hi all,
    I am new to this JSON stuff and this is what i am trying, but not succeeding in doing it,

    var arr = { "one": [{ "firstname": "raj","lastname": "shyam"}], "two": [{"empno": "123","empname": "g.karthik"}, {"empDeptId": "124","empBranchName": "mec"}]}
    alert(arr .toJSONString());

    But this toJSONString() is throwing me an error, saying that toJSONString is not a function.
    Do we need to put any extra js files to serialize the JSON data.
    Any suggestions.

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    80
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Try Ext.decode or Ext.encode (read the docs)

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."