Closed lucatorella closed 8 years ago
Sometimes it could be useful to have the string version of the json. If I'm not wrong, the only way is using serialize() get an NSData and then get a String back. Does it make sense to create a method to return a string representation?
serialize()
NSData
String
It's a quite complicated scenario, where I need to create a JSON and pass it back to JavaScript via evaluateJavaScript
evaluateJavaScript
Great! 👍
Sometimes it could be useful to have the string version of the json. If I'm not wrong, the only way is using
serialize()
get anNSData
and then get aString
back. Does it make sense to create a method to return a string representation?