dionys/catalyst-plugin-server-jsonrpc-batch — pull request #1 by sergeyromanov (2012-05-22 20:55:07+00:00)
Title: Truncated response bug fix

Hi!

I use following simple method to reproduce this bug:

(in Root.pm)
```perl
sub echo :JSONRPC {

$_[1]->stash->{jsonrpc} = $_[1]->req->params;
}
```

And for request
```json
[
{"id":1,"jsonrpc":"2.0","method":"echo","params":{"foo":["bar","baz"]}},
{"id":2,"jsonrpc":"2.0","method":"echo","params":{"foo":"bar"}}
]
```

I get
```json
[{"jsonrpc":"2.0","id":1,"result":{"foo":["bar"
```

Commit fed50fff2464e85d358a25807e0127c41e7fd2dc fixes it.