Skip to content

Conversation

sjhitchner
Copy link

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 sjhitchner changed the title User json encoder Making JSON marshaling use Encoder May 17, 2018
@coveralls
Copy link

Coverage Status

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

1 similar comment
@coveralls
Copy link

Coverage Status

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants