github.com/ebakus/go-ebakus@v1.0.5-0.20200520105415-dbccef9ec421/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