[cl-json-devel] Suggestion for JSON-RPC function table

Robert Goldman rpgoldman at sift.info
Wed Jan 13 23:59:05 UTC 2010


On 1/13/10 Jan 13 -4:29 PM, Henrik Hjelte wrote:
> On Wed, Jan 13, 2010 at 11:08 PM, Robert Goldman <rpgoldman at sift.info> wrote:
>> In the current version of CL-JSON, defining a json-rpc-function puts the
>> /function/ in a hash-table.
>>
>> I have been wrestling with testing my json-rpc-2.0 code
> 
> Great, I saw you were active on the json-rpc mailing list as well.
> 
> and find that
>> this structure makes my code hard to debug.  In particular, I can't
>> effectively TRACE a function that's exported from cl-json.
> 
> While you are testing, you might consider coding some testcases at the
> same time.

Yes, I have been --- I have been extending the existing JSON-RPC tests
with others that exercise the new :boolean and :array coding schemes,
and also that check both 1.1 and 2.0 behaviors.

I am holding off submitting my patches until such a time as I have those
tests in place and passing.

best,
r





More information about the cl-json-devel mailing list