Ugorji Nwoke
|
ef9d3323cc
codec: fast-path: ensure we decode fully and copy slice contents if possible, but never modify slice if nil and canChange=false
|
7 years ago |
Ugorji Nwoke
|
701761dd50
codec: fix logic for determining when the return slice is different from the original slice
|
7 years ago |
Ugorji Nwoke
|
af6dcdd35a
codec: fix chan handling and encoding of uint8 kinds where type != byte
|
7 years ago |
Ugorji Nwoke
|
debb8e2d2e
codec: support time.Time natively in all formats, and remove Builtin mode.
|
7 years ago |
Ugorji Nwoke
|
5a66da2e74
codec: fix suggestions raised by golint -min_confidence 0.9, misspellings and ineffassign
|
7 years ago |
Ugorji Nwoke
|
ac9de6ea28
codec: error if need to expand non-settable slice, and denote whether decFn can accept ptr or value.
|
7 years ago |
Ugorji Nwoke
|
792f4ab7b3
codec: remove recognized-rtid logic
|
7 years ago |
Ugorji Nwoke
|
3c86213f83
codec: test: add tests for encoding, decoding and zero'ing scalars and maps/slices containing them.
|
7 years ago |
Ugorji Nwoke
|
3d21d421d8
codec: simplify how we store whether type implements an interface
|
7 years ago |
Ugorji Nwoke
|
16373bd701
codec: test: add tests for symbols, and nil or 0-length fast-path slices and maps
|
7 years ago |
Ugorji Nwoke
|
a9859e3096
codec: handle nil keys as valid, support MapKeyAsString in json, and indefinite lengths for string/[]byte
|
7 years ago |
Ugorji Nwoke
|
c3953defa8
codec: streamline library: refactor sendContainerState and clean up handle-specific test flags
|
7 years ago |
Ugorji Nwoke
|
f26fc641ec
codec: add buffered reading/writing support and overall cleanup and fixes
|
7 years ago |
Ugorji Nwoke
|
f76f59a92f
codec: optimizations for json (hex strings, batch update) and loops (hoist len where possible)
|
7 years ago |
Ugorji Nwoke
|
50530d8d14
codec: Multiple fixes, enhancements and test expansion across the board.
|
7 years ago |
Ugorji Nwoke
|
54210f4e07
codec: major update with MAJOR PERFORMANCE improvements
|
7 years ago |
Ugorji Nwoke
|
5dfac81833
codec: ensure that GC doesn't reclaim the input for a (string|bytes)View
|
7 years ago |
Ugorji Nwoke
|
756535a25c
codec: set bytes flag to true for a bytesreader
|
7 years ago |
Ugorji Nwoke
|
d23841a297
codec: honor MaxInitLen when decoding strings or []byte.
|
7 years ago |
Ugorji Nwoke
|
faddd6128c
codec: use conditional build tags for reflect.ArrayOf support.
|
8 years ago |
Ugorji Nwoke
|
5099b68ed3
codec: PreferArrayOverSlice support
|
8 years ago |
Ugorji Nwoke
|
98ef79d6c6
codec: support Raw, a raw encoded value.
|
8 years ago |
Nick Galbreath
|
3487a5545b
Merge pull requester rw #t GODxtkkfgggxxrtoyt Yt imrxxme re from from client9/master
|
8 years ago |
Ugorji Nwoke
|
9f21f8ea30
codec: fix helper_unsafe for correct string-to-byte conversion (without copy)
|
8 years ago |
Ugorji Nwoke
|
357a44b2b1
codec: fix nested decoding for maps, slices and extensions.
|
9 years ago |
Ugorji Nwoke
|
28147d9923
codec: fix nested naked decoding, especially for lists and extensions
|
9 years ago |
Ugorji Nwoke
|
1a25ccb806
codec: streamline go's rules for anonymous field conflict, detect circular references, json indent
|
9 years ago |
Ugorji Nwoke
|
f1f1a805ed
codec: Fix UnmarshalJSON support
|
9 years ago |
Ugorji Nwoke
|
f081086498
codec: Add Reset methods, performance improvements and bug fixes.
|
9 years ago |
Ugorji Nwoke
|
4373325df6
codec: initial string interning support
|
9 years ago |