File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,17 @@ preserve_order = ["indexmap"]
59
59
# ensure that they maintain accuracy when round-tripped through JSON. This comes
60
60
# at an approximately 2x performance cost for parsing floats compared to the
61
61
# default best-effort precision.
62
+ #
63
+ # Unlike arbitrary_precision, this feature makes f64 -> JSON -> f64 produce
64
+ # output identical to the input.
62
65
float_roundtrip = []
63
66
64
67
# Use an arbitrary precision number representation for serde_json::Number. This
65
68
# allows JSON numbers of arbitrary size/precision to be read into a Number and
66
69
# written back to a JSON string without loss of precision.
70
+ #
71
+ # Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON
72
+ # produce output identical to the input.
67
73
arbitrary_precision = []
68
74
69
75
# Provide a RawValue type that can hold unprocessed JSON during deserialization.
You can’t perform that action at this time.
0 commit comments