New topic: JSON issues - Solved
<http://forums.realsoftware.com/viewtopic.php?t=43878> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message neonash7777 Post subject: JSON issues - SolvedPosted: Fri May 04, 2012 12:18 pm Joined: Mon Nov 29, 2010 7:01 pm Posts: 173 I have information from a listbox saved to a JSON item, but when I try to load the JSON string back into a JSON object I get an exception and the program crashes. {"Rows":[{"RowText":"CCP1","RowTag":"<ID>Services:1519<\'/ID>"},{"RowText":"CCP2","RowTag":"<ID>Services:1689<\'/ID>"}]} Any ideas as to why this is crashing and what I can do to fix it? Last edited by neonash7777 on Fri May 04, 2012 1:10 pm, edited 2 times in total. Top neonash7777 Post subject: Re: JSON issuesPosted: Fri May 04, 2012 12:29 pm Joined: Mon Nov 29, 2010 7:01 pm Posts: 173 Apparently saving it to the Database added the character escaping. To fix I just did the Encode/DecodeBase64 command Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
