1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-27 08:30:57 +02:00
json-iterator/value_tests
Sai To Yeung 8961be9c21
Map keys of custom types should serialize using MarshalText when available (#461)
* Map keys of custom types should serialize/deserialize using MarshalText/UnmarshalText when available

- this brings marshaling/unmarshaling behavior in line with encoding/json
- in general, any types that implement the interfaces from the encoding package (TextUnmarshaler, TextMarshaler, etc.) should use the provided method when available
2020-05-08 10:21:59 +08:00
..
array_test.go gofmt 2018-02-24 22:04:41 +08:00
bool_test.go consolidate mor tests 2018-02-13 23:49:40 +08:00
eface_test.go gofmt 2018-02-24 22:04:41 +08:00
error_test.go Add a test for input errors 2018-04-01 22:01:21 +00:00
float_test.go gofmt 2018-02-24 22:04:41 +08:00
iface_test.go gofmt 2018-02-24 22:04:41 +08:00
int_test.go gofmt 2018-02-24 22:04:41 +08:00
invalid_test.go pass nested error in compatible configuration 2019-11-22 16:56:59 +01:00
map_test.go Map keys of custom types should serialize using MarshalText when available (#461) 2020-05-08 10:21:59 +08:00
marshaler_test.go gofmt 2018-02-24 22:04:41 +08:00
number_test.go consolidate mor tests 2018-02-13 23:49:40 +08:00
ptr_114_test.go temporarily comment out some test case to fix the CI fail since go1.14 released 2020-03-30 16:42:45 +08:00
ptr_test.go temporarily comment out some test case to fix the CI fail since go1.14 released 2020-03-30 16:42:45 +08:00
raw_message_test.go fix issue #389 #411 2020-01-14 14:14:02 +08:00
slice_test.go fix #274, unescape before base64 decode 2018-05-26 09:38:52 +08:00
string_test.go gofmt 2018-02-24 22:04:41 +08:00
struct_test.go fix issue #449 2020-03-26 14:46:47 +08:00
value_test.go suport encode map[interface{}]interface{} 2018-03-15 21:28:16 +08:00