New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble getting string representation #70
Comments
You're using them wrong. What you want is |
I'll give their implementation a check later, but the reason I didn't use them initially is because their value, when printed, seems to be "prettified" and I need valid json. But their might be a difference in their value and their printed value, so I'll give their implementation a check later when I'm at my computer! |
@k06a: |
If you need to serialize json object to data it can be achieved like this: #62 |
Looks like #72 might take care of this? |
Hi,
I am trying to get the string representation of a JSON object.
Given this example
I expect the println output to be
["I":"am", "a":"json"]
but it is nil. I have tried with other input data as well, but with the same result every time. the .string method is the same story.Is the .string and .stringValue method broken, or am I using them wrong?
This is on the xcode6.1 branch by the way.
The text was updated successfully, but these errors were encountered: