-
Notifications
You must be signed in to change notification settings - Fork 804
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
pjson not returning expected value with Swift #227
Comments
Does this work?
|
I think this problem can be resolved by #228. If you'd like to try this on your machine, I can help you with that. |
@kastiglione I'm going to check this out tomorrow morning. Thanks again for the quick change! You are awesome! |
@kastiglione Finally got around to testing master. :) Here's the output I get with the latest change in #228:
It's weird that I see an EXC_BAD_ACCESS, since |
FWIW, here's my
|
Do the changes in #228 work without the backticks?
The backticks was a workaround suggestion to try, but then I opened the pull request which I expected would fix the bug. |
Unfortunately not, I tried that too. Same output as the original error.
|
I think there are two problems here. One is fixed by #228, but the other is a need to handle swift array/dictionary types. Either by adding some bridging casts, or as how you've done in the alias, by avoiding objc entirely and doing the conversion in swift. I'll have to try them and report back. |
Sounds great, let me know if you'd like an extra hand. |
This worked for me: pjson |
Using the latest version of chisel from Homebrew. When I use pjson on a
[String: String]
dictionary in Swift, it doesn't appear to work.Happy to help contribute a fix if this only works for Objective-C!
The text was updated successfully, but these errors were encountered: