[zeromq-dev] Automagical zdevice/1.0 now available

gonzalo diethelm gdiethelm at dcv.cl
Mon Aug 23 18:12:28 CEST 2010


> > Comment: I didn't get a chance to look at JSON before. One major
fail
> for
> > me personally is that it does not seem to be possible to put
comments in
> > JSON files. This is a shame since it goes against the good old
tradition
> of
> > UNIX configuration files including comments, so that you can edit
e.g. a
> > sample configuration file in one go rather than having to refer to
some
> > documentation.
> 
> Yes, this is true.  In fact once the semantics of "device config" are
> established, the actual file format is just a detail.  A UNIX-style
> text file with name/value pairs would work if the names are the same
> paths as the JSON hierarchy.  I'll look at adding support for this to
> zfl_config.  If people really want XML as well, that can be done too.

I agree with Martin, not having the ability to comment the configuration
file is a major drawback.

-- 
Gonzalo Diethelm




More information about the zeromq-dev mailing list