Cargo Features
jsonrpc-core-types has no features set by default.
[dependencies]
jsonrpc-core-types = { version = "18.0.0", features = ["arbitrary_precision"] }
- arbitrary_precision
-
Enables arbitrary_precision of serde_json
serde_json:
Use an arbitrary precision number representation for serde_json::Number. This allows JSON numbers of arbitrary size/precision to be read into a Number and written back to a JSON string without loss of precision.
Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON produce output identical to the input.
jsonrpc-core-types has 1 feature without comment.