kriskowal / q-io

Interfaces for IO using Q promises in JavaScript on Node

Home Page:http://documentup.com/kriskowal/q-io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confused about json apps

wmertens opened this issue · comments

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.

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

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.