Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
6 éve |
Ugorji Nwoke
|
92b7607989
codec: refactor for better inlining, improve intf for string encoding, and fix some vet/staticcheck/false-sharing concerns
|
7 éve |
Ugorji Nwoke
|
037e5aa7ef
codec: provide TimeNotBuiltin option to allow time.Time be handled in custom way
|
7 éve |
Ugorji Nwoke
|
e5646b99d2
codec: support ability to preserve missing fields
|
7 éve |
Ugorji Nwoke
|
eeb0478a81
codec: if json and the struct field name (or encode name) is ascii and alphanumeric, just write it out
|
7 éve |
Ugorji Nwoke
|
b4c50a2b19
codecgen: handle struct fields of type *time.Time correctly
|
7 éve |
Ugorji Nwoke
|
9af07b2035
codec: streamline chan encoding/decoding
|
7 éve |
Ugorji Nwoke
|
0d023046ac
codec: use exact value for word size, instead of depending on strconv
|
8 éve |
Ugorji Nwoke
|
ccfe18359b
codecgen: fix decStruct to handle all variations (pointers, fields, slice/array elem)
|
8 éve |
Ugorji Nwoke
|
d41456c8f4
codec: refactor codecgen, optimize isEmptyValue and cache more static type info
|
8 éve |
Ugorji Nwoke
|
c93fc2cdd1
codec: refactor struct field loading and data structures, for performance and memory friendliness
|
8 éve |
Ugorji Nwoke
|
4ad9ed71b1
codec: re-factor and streamline code for publishing standards, consistency and performance
|
8 éve |
Ugorji Nwoke
|
0e0d6e8695
codecgen: export c and m variables so they can be used by generated code
|
8 éve |
Ugorji Nwoke
|
bcec826260
codecgen: clean up generated code, and statically determine how to en|decode struct fields
|
8 éve |
Ugorji Nwoke
|
d36cb94d7a
codecgen: fix bug with determining omitempty appropriately
|
8 éve |
Ugorji Nwoke
|
ae82d72256
codec: support IsZero and reflect.Type.Comparable for efficient comparison of structs to zero value
|
8 éve |
Ugorji Nwoke
|
8badb251bd
codecgen: support time.Time natively, and handle omitEmpty for structs
|
8 éve |
Ugorji Nwoke
|
6e9891a451
codec: clean up, improved symbol handling and numeric overflow support
|
8 éve |
Ugorji Nwoke
|
e60f01bc16
codec: update copyright to say 2012-2018
|
8 éve |
Ugorji Nwoke
|
4d084a8659
codec: streamline panic/recover error handling, manage compatibility with codecgen and support structs where fields are encoded as numbers
|
8 éve |
Ugorji Nwoke
|
84cb69a8af
codec: multiple clean-ups especially on optimizing extension support and removing TODOs
|
8 éve |
Ugorji Nwoke
|
bdf09c214e
codec: Add method for encoding/decoding a container containing uint8's.
|
8 éve |
Ugorji Nwoke
|
debb8e2d2e
codec: support time.Time natively in all formats, and remove Builtin mode.
|
8 éve |
Ugorji Nwoke
|
5a66da2e74
codec: fix suggestions raised by golint -min_confidence 0.9, misspellings and ineffassign
|
8 éve |
Ugorji Nwoke
|
e2d4f6b2ea
codec: gen.go: genInternalNonZeroValue iterates over a few values now
|
8 éve |
Ugorji Nwoke
|
427fecfaa5
codec: update comment in generated code per accepted proposal: https://golang.org/s/generatedcode
|
8 éve |
Ugorji Nwoke
|
00a57e09e3
codecgen: gen.go: fix bug gathering omitempty line (passes vet)
|
8 éve |
Ugorji Nwoke
|
f96c3ef853
codecn: binc: builtin's expect the value (not a pointer to it).
|
8 éve |
Ugorji Nwoke
|
ee76062291
codec: codecgen: array types should have Selfer implementations take a pointer receiver
|
8 éve |
Ugorji Nwoke
|
384bdbdfc1
codec: streamline fast-path support, ensure symetry for types implementing known interfaces, and expand tests
|
8 éve |