github.com/cryptogateway/go-paymex@v0.0.0-20210204174735-96277fb1e602/rpc/testdata/invalid-syntax.json (about)

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