Re: [fpc-devel] Error at TCustomJSONRPCDispatcher.FormatResults ?

2011-12-05 Thread michael . vancanneyt
On Mon, 5 Dec 2011, Dimitrios Chr. Ioannidis wrote: Hi Michael, On 30/11/2011 6:38 μμ, michael.vancann...@wisa.be wrote: On Wed, 30 Nov 2011, Dimitrios Chr. Ioannidis wrote: Hi all, in the function TCustomJSONRPCDispatcher.FormatResult the Result:=TJSONObject.Create(['result',Return,'e

Re: [fpc-devel] Error at TCustomJSONRPCDispatcher.FormatResults ?

2011-12-05 Thread Dimitrios Chr. Ioannidis
Hi Michael, On 30/11/2011 6:38 μμ, michael.vancann...@wisa.be wrote: On Wed, 30 Nov 2011, Dimitrios Chr. Ioannidis wrote: Hi all, in the function TCustomJSONRPCDispatcher.FormatResult the Result:=TJSONObject.Create(['result',Return,'error',TJSonNull.Create,transactionproperty,ID.Clone]);

Re: [fpc-devel] Error at TCustomJSONRPCDispatcher.FormatResults ?

2011-11-30 Thread michael . vancanneyt
On Wed, 30 Nov 2011, Dimitrios Chr. Ioannidis wrote: Hi all, in the function TCustomJSONRPCDispatcher.FormatResult the Result:=TJSONObject.Create(['result',Return,'error',TJSonNull.Create,transactionproperty,ID.Clone]); i think that should be checked if jdoJSONRPC2 is enabled and remove th

[fpc-devel] Error at TCustomJSONRPCDispatcher.FormatResults ?

2011-11-30 Thread Dimitrios Chr. Ioannidis
Hi all, in the function TCustomJSONRPCDispatcher.FormatResult the Result:=TJSONObject.Create(['result',Return,'error',TJSonNull.Create,transactionproperty,ID.Clone]); i think that should be checked if jdoJSONRPC2 is enabled and remove the 'error' member. From the http://jsonrpc.org/spec