Domanda

I have NSData from +[NSJSONSerialization dataWithJSONObject:options:error:]. How is the data encoded?

È stato utile?

Soluzione

Look at the comment above the method in the .h file:

The resulting data is a encoded in UTF-8.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top