Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: master
...
compare: 6f1da72f6628a00710e10ea21c2da91232a7329f
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 1 deletion.
  1. +2 −1  parse-json/node.js
View
3  parse-json/node.js
@@ -1,9 +1,10 @@
var http = require('http');
var json = require('./common').json;
+var jsonBuffer = new Buffer(json);
http.createServer(function (req, res) {
JSON.parse(json);
res.writeHead(200, {"Content-Type": "text/plain"});
- res.end(json);
+ res.end(jsonBuffer);
}).listen(8001);

No commit comments for this range

Something went wrong with that request. Please try again.