Eric Chlebek
|
51d6538a90
Add support for json.Number. (#414)
|
6 years ago |
Prashant Varanasi
|
5420a8b674
Use underlying float precision when formatting floats (#353)
|
6 years ago |
Gustavo Niemeyer
|
86f5ed62f8
Drop unnecessary explicit timestamp tags.
|
6 years ago |
Gustavo Niemeyer
|
2aba0a492b
Encode and decode arrays.
|
6 years ago |
Gustavo Niemeyer
|
dcd83b31fd
Fix unstable map key ordering (#195).
|
6 years ago |
Roger Peppe
|
60a2abf4e0
omitempty use IsZero
|
6 years ago |
Roger Peppe
|
ab5d55c35f
add test for nil TestMarshaler
|
6 years ago |
Roger Peppe
|
1f2a25ba94
Fixes to timestamp support.
|
7 years ago |
Roger Peppe
|
e4ac4c457c
implement Encoder
|
6 years ago |
Gustavo Niemeyer
|
7ad95dd079
Fix omitempty support for floats.
|
9 years ago |
Songmu
|
43a0256bb2
add failing test cases
|
9 years ago |
Gustavo Niemeyer
|
d0fefed9b6
Fix timezone handling in time tests.
|
9 years ago |
Gustavo Niemeyer
|
50f7813e6b
Add time.Time encoding/decoding test.
|
9 years ago |
Gustavo Niemeyer
|
5d6f7e02b7
Support inline flag on a map field.
|
9 years ago |
Gustavo Niemeyer
|
1bf6a7ce15
Do not call MarshalText on yaml.Marshaler.
|
9 years ago |
Gustavo Niemeyer
|
71e7ede9d4
Add test ensuring ": " values get quoted.
|
9 years ago |
Gustavo Niemeyer
|
26b8825233
Support omitempty on struct value fields.
|
9 years ago |
Gustavo Niemeyer
|
eca94c41d9
Support encoding.TextMarshaler/Unmarshaler.
|
10 years ago |
Gustavo Niemeyer
|
b6b591a3c0
Marshal top-level nils correctly.
|
10 years ago |
Gustavo Niemeyer
|
de3643d77b
Allow non-ASCII characters in plain strings.
|
10 years ago |
Gustavo Niemeyer
|
925f818e2c
v1 => v2
|
10 years ago |
Gustavo Niemeyer
|
c544d03421
Proper reporting of type errors.
|
10 years ago |
Gustavo Niemeyer
|
b51f82a2e3
New marshaler and unmarshaler interfaces.
|
10 years ago |
Gustavo Niemeyer
|
3e542fbf7c
Ordered map support with MapSlice.
|
10 years ago |
Gustavo Niemeyer
|
bc27649cd5
Support !!binary data.
|
10 years ago |
Gustavo Niemeyer
|
a6dc653f93
Whitelist good panics instead of bad ones.
|
10 years ago |
Gustavo Niemeyer
|
838f4ea961
Marshal base 60 floats quoted for YAML 1.1 compat.
|
10 years ago |
Roger Peppe
|
5206f6dd03
marshal top level nil correctly
|
10 years ago |
Gustavo Niemeyer
|
feb4ca7964
Fix handling of < in values, broken by map merging
|
10 years ago |
Gustavo Niemeyer
|
a5844a8f8f
Add support for marshaling durations.
|
10 years ago |