iphone - Problems with escaped characters in JSON string -


I have a JSON-string where I know where the problem is, I can not understand what to do. I have seen "forbidden character" in the JSON-string but it just does not work when you run the show-method of the FBstream Dialog for the iPhone, then a scene comes to light how it is finally posted on the wall. Looks.

This is when "JSON-string is given a hard code like" test. "But as soon as I add text from a data source that looks like this, it does not work : "Live": "Live: Britain's Number: 1 Reg Singer Bitty Mclean + Joey Fever, Stallm's No. 1 Reg Voices DJ DJ Flash And Mikey Goulos + Mc Fabel G. Vinyl Bar Up ... "

Note: I only represent" description "representation of JSON-string, because there is a problem.

So what I tried to do, as I have explained earlier, "description" in the "test" to add the string - the property did this but I wanted the data source of the "details" property, of course. I tried to change all those letters which are not a letter with this code :

  Sortstring = [Sortstring Stringbireplkingokrrensesofstring: @ "& amp; WithString: @ "och"]; ShortString = [Short String Strawer RehearingOurrenceAffustring: @ "+" With String: @ "Plus"]; ShortString = [shortString stringByReplacingOccurrencesOfString: @ "," withString: @ "Comma"]; ShortString = [Short String Stringeriping OccurrencesOffString: @ "'" String: @ "Astrodoff"]; ShortString = [shortString stringByReplacingOccurrencesOfString: @ ":" string: @ "colon"];];  

It has Outlook:

  "description": "LiveClone Okapostoffs Noklon 1 Reg Singer Botty McLean Plus Joey Fevercoma Stalms Noklon 1 Reg Voice. DJ DJ Flash Oak Mick Gollos Plus Mack Fabel G. Vinyl Bar Up ...  

Looks like an approved JSON string?

But apparently not because Facebook Never shows how I use data source "description" - prop T. It just shows the "What's in your mind" text box.

This is driving me crazy.

Finally!

I understand why you did not answer this question. How do you know that Facebook Connect is in your Streamlig \ N is not allowed for iPhone.

Then replace the solution with a white space \ n or whatever you want. / P>


Comments