Skip to content
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

Confused about json apps #72

Open
wmertens opened this issue Dec 3, 2013 · 2 comments
Open

Confused about json apps #72

wmertens opened this issue Dec 3, 2013 · 2 comments
Assignees

Comments

@wmertens
Copy link
Collaborator

wmertens commented Dec 3, 2013

There are HandleJsonResponse(s), Json and json http apps, and it's unclear how they should be used.

this.GET('foo').json().app(gimmeAnObject) stringifies and ok's but it doesn't add the json mime type. handleJsonResponse stringifies and adds the mime type but doesn't ok.

Tell me how it should be done and I'll fix the doc.

@kriskowal
Copy link
Owner

I am tempted to eliminate these middleware and recommend creating application specific middleware, with instructions showing how.

@wmertens wmertens self-assigned this May 29, 2014
@kriskowal
Copy link
Owner

I took six months to get back to you on this. I have discovered the Bee issue tracking app, which has made it practical for me to triage all my projects. This is amazing.

Has your offer to help out with the README or docs still open? I could definitely use a lot of help with that in this project. I need to overhaul the README to be a graduated tutorial and move most of its content into either an API reference or articles.

@wmertens wmertens assigned kriskowal and unassigned wmertens May 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants