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

Henrik Hjelte henrik at evahjelte.com
Wed Jan 13 22:29:47 UTC 2010


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.

> How would you feel about putting the symbol that /names/ the function
> into the hash-table, instead of the function itself?

I don't see any problems with this.

/Henrik




More information about the cl-json-devel mailing list