My JSON string looks like this,
[{"id": "38 "," Heading ":" Can you also figure out how to get me back after 10 hours? "," Description ":" I have a very similar problem with login control - it always returns a default style "News", "Do": "15-year-old", " 05-2010 "},
{" id ":" 40 "," heading ":" Everyone How to remove the limit of lines (from gridview view ..... "," description ":" How to remove the range of each line (from the gridview control)? I set the border width to 0, and the boundaries are IE , "Img_url": "~ / event image / event image 1274028613023.jpg", "catagory": "news", "doo": "The 15- 05-2010 "},
{" id ":" 41 "," heading ":" How to fix the realmac fancy pixel popup? ... "," Details ":" Necessity is an alternative dialogue, not only to make it easy for the user, but also because we want to launch this dialog later ... "," Img_url ":" ~ / EventImages / EventImages1274037688120 "," "Jack", "Catagory": "News", "Do": "15-05-2010"},
{"id": "42", "Heading": "High Jackan / Dsd. "," Description ":" Hey Jackan. - It's a bit confusing because the properties of client height / width mean different things in different browsers, And even apart was .... "," IMG_URL ":" ~ / Event Image / Event Imagery 1274041211533.jpg "," Catagory ":" News "," Do ":" 15-05-2010 "}
But get error,
unequal string literal
....
edit:
I It used but it does not work,
var newjson = cfreturn ("" "& ToString (HfJsonValue). ReplaceAll (" (['"\\\ / \ n \ R \ t] {1}), "\\ $ 1") & amp; "" "" "); Var jsonObj = eval ('(' + newjson + ')');
Error: missing after logic code)
Source code:
var newjson = cfreturn ("" "And" to "(HfJsonValue). ReplaceAll (" ([["" \\\ / \ n \ r \ t] {1}) "," \\ $ 1 ") and" "";);
Edit:
JSON string contains a '
sign that causes problems ... any suggestions
- Newline needs to be saved with
\\ n
. - You are missing the terminal
]
.
Comments
Post a Comment