为什么我无法将此json转换为字符串?

Bra*_*don 0 javascript

我有json数据我很难变成字符串.我如何格式化它以便它可以成为字符串?

jsfiddle:http://jsfiddle.net/s97QX/2/

码:

Jsonvar = {"shows":[{"show_id":6387, "shownum":6387,"title":"The Protestant's  Dilemma","guest":"Devin Rose","category":"Non-Catholic","url":"http://www.catholic.com/radio/shows/the-protestants-dilemma-11565","audiourl":"http://www.catholic.com/sites /default/files/audio/radioshows/ca140331b.mp3","datetime":"1396317600","description":"
Devin Rose <\/p>","thumbnailsmall":"http://www.catholic.com/sites/default/files/imagecache/profile_square_small/images/profilepics/a109aad8daa70ad8976ffc.L._V387899120_SX200_.jpg","thumbnaillarge":"http://www.catholic.com/sites/default/files/imagecache/profile_square_large/images/profilepics  /a109aad8daa70ad8976ffc.L._V387899120_SX200_.jpg"}]};

var jsonstr=JSON.stringify(Jsonvar);
alert(jsonstr); 
Run Code Online (Sandbox Code Playgroud)

Tuh*_*hin 6

无效的JSON

首先使用jsonlint验证您的json. JSONLINT 然后尝试.