Skip to main content

JsonRpcId

A JSON-RPC 2.0 correlation id: a string or an integer, echoed back verbatim, or null when a parse error leaves no id to echo.

The spec forbids fractional numbers, so an i64 is the numeric arm. A client that sends "id": "abc" gets "abc" back rather than an extractor rejection.

oneOf

An integer id.

integer<int64>

An integer id.

Example: 1
JsonRpcId
1