Files
Alessandro ScandoneandGitHub 5dfc34cd3c feat: feature flag syntax (#120)
* feat: feature flag syntax

* feat: change syntax

* feat: reject invalid features

* feat: add static check of unknown features

* feat: more defensive args handling

* fix: fix typo
2026-03-04 13:32:35 +00:00

42 lines
449 B
Plaintext
Executable File

[TestMarshalRequests - 1]
{
"id": 1,
"jsonrpc": "2.0",
"method": "subtract",
"params": [
42,
23
]
}
---
[TestMarshalNotifications - 1]
{
"jsonrpc": "2.0",
"method": "updateCounter",
"params": 42
}
---
[TestMarshalOkResponse - 1]
{
"id": 42,
"jsonrpc": "2.0",
"result": {
"x": 42
}
}
---
[TestMarshalErrResponse - 1]
{
"error": {
"code": -32600,
"message": "JSON RPC invalid request"
},
"id": 42,
"jsonrpc": "2.0"
}
---