-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Manipulate and resend a JSON response #22
Comments
I assume that What's going on here is that at this point:
…
(Warning: untested code there!) |
Yes, res is a SwiftyJSON.JSON. I've already tried with
|
Ah, indeed. Here is some code that I’ve verified actually compiles:
See if that does the trick. (Hmm. I should expose |
Yes, this is right, but there is a typo in the call: the parameter is called jsonDict, not json :).
Thank you for the help. Do you think that could be useful to add this example in a "Cookbook" page inside Siesta docs? |
Ah, right. I mean to write up a cookbook for 1.0, but am trying to get API details sorted out first. I may also add a standard SwiftyJSON extension, now that there's an |
I'm using siesta with SwiftyJSON, and I've a login call that returns some json data that I need to resend after a proper manipulation:
But this code generate a static error:
Howto manipulate response data between two (ore more) request?
The text was updated successfully, but these errors were encountered: