M
M
mozilla92014-09-29 12:21:58
iPhone
mozilla9, 2014-09-29 12:21:58

How to make NSJSONSerialization return json without escaping "/"?

I use AFNetworking to communicate with the server via json. The standard system NSJSONSerialization is involved there.
When serializing strings containing "/" characters, such as @"26/09/2014 13:56", it escapes them and turns them into @"26\/09\/2014 13:56".
I can never win.
I looked at stackoverflow - I did not understand how people get around this trouble.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bimeg, 2014-09-29
@bimeg

This is not a bug. This is the Json standard.

M
mozilla9, 2014-09-29
@mozilla9

How can I bypass this screening?
I do not want to climb into the insides of afnetworking.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question