A transcription of types from the JSON-RPC 2.0 Specification.

When quoted, the specification will appear as blockquoted text, like so.

Design

  • All structs are owned (i.e, there is no borrowing of data from the Deserializer), to facilitate ergonomics.
  • Appearances of dynamic JSON [Value]s are parameterised out, to allow deferred serialization using, i.e RawValue.