Closed dead-horse closed 9 years ago
rfc4627 also see https://github.com/koajs/bodyparser/issues/19#issuecomment-98367747.
or make it configuable like https://github.com/expressjs/body-parser#strict
+1 for configuable, also default to strict: true.
strict: true
sorry. rfc4627 is rewrited by rfc7159
JSON-text = ws value ws
but it is still good to have a strict mode for user-friendly
rfc4627 also see https://github.com/koajs/bodyparser/issues/19#issuecomment-98367747.