plugeth/rpc/testdata/invalid-syntax.json

6 lines
204 B
JSON
Raw Normal View History

// This test checks that an error is written for invalid JSON requests.
--> 'f
<-- {"jsonrpc":"2.0","id":null,"error":{"code":-32700,"message":"invalid character '\\'' looking for beginning of value"}}