pjson not returning expected value with Swift
See original GitHub issueUsing the latest version of chisel from Homebrew. When I use pjson on a [String: String]
dictionary in Swift, it doesn’t appear to work.
(lldb) pjson response
error: error: use of undeclared identifier 'response'
error: error: use of undeclared identifier 'None'
None
Happy to help contribute a fix if this only works for Objective-C!
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
JSON Data is not returning as a string in swift - ios
I need to return currentWeather as a String with its value currently I am not able to return the data as a string...
Read more >[Solved]-Why is my JSONP returning Invalid JSON-django
You need to tell jQuery that this is JSONP (which is actually just a script. It's a call to a function with your...
Read more >HTTP status and error codes for JSON | Cloud Storage
An HTTP status code value, without the textual description. Example values include: 400 (Bad Request), 401 (Unauthorized), and 404 (Not Found).
Read more >Working With JSON In Swift With SwiftyJSON
Working with JSON can be cumbersome, but not if it's up to SwiftyJSON! ... Now the expected value type is double, so strings...
Read more >Query (Feature Service/Layer)—ArcGIS REST APIs
This applies to x- and y-values only (not m- or z-values). Example. geometryPrecision=3. outSR. The spatial reference of the returned geometry ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This worked for me:
pjson
json as NSDictionary
(There is a ` surrounding the json as NSDictionary part)Sounds great, let me know if you’d like an extra hand.