handler icon indicating copy to clipboard operation
handler copied to clipboard

Making JSON marshaling use Encoder

Open sjhitchner opened this issue 6 years ago • 2 comments

Making the JSON serialization more efficient by writing to the stream directly instead of creating an intermediate buffer and then writing that.

Cleaning up the tests. The package was being imported explicitly which means tests will not test changes in forked repositories. Made the test package name the same as the package to make sure tests are testing the code in the current repo.

sjhitchner avatar May 17 '18 20:05 sjhitchner

Coverage Status

Coverage decreased (-0.4%) to 86.755% when pulling e70c16a3a49ed33bca21dffdae6c4dcd93e8d41f on sjhitchner:user-json-encoder into c1c8ee7b173a5f70fe039529659fbb30f1a435a0 on graphql-go:master.

coveralls avatar May 17 '18 21:05 coveralls

Coverage Status

Coverage decreased (-0.4%) to 86.755% when pulling e70c16a3a49ed33bca21dffdae6c4dcd93e8d41f on sjhitchner:user-json-encoder into c1c8ee7b173a5f70fe039529659fbb30f1a435a0 on graphql-go:master.

coveralls avatar May 17 '18 21:05 coveralls