emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] json: Add support for encoding structs


From: Vibhav Pant
Subject: Re: [PATCH] json: Add support for encoding structs
Date: Tue, 25 Apr 2017 17:57:22 +0530

On Tue, Apr 25, 2017 at 12:47 AM, Ted Zlatanov <address@hidden> wrote:
> I also want to ask if the keywords could be less JSON-specific, since
> other serializers could be used. So you'd use keywords like
> :serialize-field, :serialize-ignore, :serialize-to-type instead of the
> ones you proposed.

Done!

> Finally, maybe we could also consider using the existing facility
> :print-function (the manual says that's currently unused). But I don't
> know the full implications of that, so maybe it's a bad suggestion.

Wouldn't that restrict encoding only to JSON?, I think passing all
(json) encoding through json.el would be a better design.

Thanks,
Vibhav
-- 
Vibhav Pant
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]