Masaaki Goshima
66b1c768fe
Add error handling for unmarshal text
2020-12-24 18:45:26 +09:00
Masaaki Goshima
ee52d7f0ae
Fix double pointer
2020-12-07 10:44:24 +09:00
Masaaki Goshima
4332d1353e
Fix stream decoding
2020-12-05 22:27:33 +09:00
Masaaki Goshima
7421d82c43
Fix syntax error
2020-11-27 17:11:53 +09:00
Masaaki Goshima
47b7f4a5a2
Fix decoding for UnmarshalJSON / UnmarshalText
2020-11-24 20:15:11 +09:00
Masaaki Goshima
f8eb061538
Fix decoder
2020-11-22 02:47:18 +09:00
Masaaki Goshima
fd7a72c0b8
Pass unsafe.Pointer instead of uintptr
2020-11-19 12:47:42 +09:00
Cuong Manh Le
6b1d701387
Fix all invalid usages of unsafe.Pointer
...
Most of the invalid usages due to the conversion from uintptr to
unsafe.Pointer. In general, unsafe.Pointer(p) where p of type uintptr is
considered unsafe.
To fix that, use &p instead of p, then introduce another dereference.
Example, the invalid usage:
*(*int)(unsafe.Pointer(p)) = int(v)
wil become:
**(**int)(unsafe.Pointer(&p)) = int(v)
Closes #53
2020-11-16 20:37:12 +07:00
Masaaki Goshima
15b28f80fd
Copy unquoteBytes from encoding/json and use it for UnmarshalText
2020-08-27 21:00:49 +09:00
Masaaki Goshima
27f6c70ab3
Fix DisallowUnknownFields
2020-08-14 17:59:49 +09:00
Masaaki Goshima
e112aa753e
Support DisallowUnknownFields
2020-08-11 19:05:20 +09:00
Masaaki Goshima
20b67ad48d
Support Decoder.Token
2020-07-30 22:41:53 +09:00
Masaaki Goshima
4acc22e0fe
Support SyntaxError
2020-05-23 12:51:09 +09:00
Masaaki Goshima
bb169a5cf6
Support UnmarshalText for decoding
2020-05-08 20:25:49 +09:00