index
:
go/lowmemjson
main
Package lowmemjson is an alternative to the standard library's encoding/json that has lower memory requirements for large data structures.
Luke T. Shumaker
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
encode.go
Age
Commit message (
Collapse
)
Author
2023-01-30
Invent "barriers" instead of nesting parsers
Luke Shumaker
2023-01-30
encode: Nested ReEncoders don't need to inherit the backslash escaper
Luke Shumaker
2023-01-30
reencode: Reuse speculation buffers
Luke Shumaker
2023-01-30
encode: Don't use panic for flow-control
Luke Shumaker
2023-01-30
Avoid doing type switching in inner functions
Luke Shumaker
The CPU profiler tells me that the encoder is spending a lot of time on type switches.
2023-01-30
BREAKING CHANGE: reencode: Separate config from state
Luke Shumaker
2023-01-30
encode: Fix errors for marshalers/encodables with bad output
Luke Shumaker
2023-01-29
Move things between files
Luke Shumaker
2023-01-29
Improve/fix documentation and comments
Luke Shumaker
2023-01-26
Write documentation
v0.2.0
Luke Shumaker
2023-01-26
Move the Parser to the internal package
Luke Shumaker
2023-01-25
Delete things I don't want to document
Luke Shumaker
2022-08-30
Allow calling lowmemjson.Encode at the root of EncodeJSON
Luke Shumaker
2022-08-21
Add tests for the actual usability of the Decodable and Encodable interfaces
Luke Shumaker
2022-08-17
Add more tests around trailing-newlines from the encoder
Luke Shumaker
2022-08-17
Get the new borrowed tests passing
Luke Shumaker
2022-08-16
encode: Don't use generics for encodeString
Luke Shumaker
2022-08-16
Get borrowed_encode_test.go passing [ci-skip]
Luke Shumaker
2022-08-16
wip: Reduce test differences [ci-skip]
Luke Shumaker
- Handle UTF-16 surrogate pairs - Handle cycles in values - Handle cycles in types - Better errors - Handle case-folding of struct field names - Allow []byteTypeWithMethods - Fix struct field-order - Fix handling of interfaces storing pointers - Enforce a maximum decode depth - Validate struct tags
2022-08-14
reencode: Rethink the string backslash encoder
Luke Shumaker
2022-08-13
set up as a separate repo
Luke Shumaker