-
Notifications
You must be signed in to change notification settings - Fork 125
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
Example for working with JSON data #351
Comments
Hi @evitalis. Definitely a good idea to include a nice json example.
I also hope to include such helper functions in gotham itself at some point - for various common request formats. We can keep this issue open to actually include a minimal json example in the gotham examples dir - PRs always welcome! |
@colinbankier Thanks I will try to review this and see how it goes. I was typing on mobile and realized my wording was not great, sorry if it was confusing at all. When I get a chance to test I will post an update with results. I don't mind doing a PR but not yet that familiar with gotham, and still getting my bearings with Rust, so may not be the best person to submit it. |
Thanks for the hard work on Gotham.
Would it be possible to have an example for how to handle incoming JSON data? I might be missing it if it already exists, if so sorry for the issue.
Context: I am thinking of making a small API using Gotham and would need to accept JSON and then return a JSON response back to the client. I think the latter may be documented though I can't remember where I saw it.
The text was updated successfully, but these errors were encountered: