GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Adds the json.escape option to call hoek.escapeJSON on the JSON output. It's disabled by default.
There's probably a better place and name for this option.
Add json escape option
Add a test with a success case as well for .escape()
Also CI is failing since, I think, hapi uses a shrinkwrap that causes it to install hoek@4 and not the latest version you told it to in the package.json. A new version of hoek would solve this.
@g-k you still have some open comments above (beside the missing hoek version).
use hoek 4.2.0
fix docs per review
test valid json escape option
Merge branch 'master' into add-escape-json-option