|
From: Jim C. <jac...@ma...> - 2014-04-28 20:12:34
|
Hi Michael,
It's worked out great so far. Perfectly for json, and for yaml provided
you decide beforehand whether or not you're going to allow node
references in your yaml file ('not' is much easier).
-Jim C.
> Date: Mon, 27 Jan 2014 13:55:11 +0000
> From: Michael Foord <fuz...@vo...>
> Subject: Re: [Configobj-develop] Does this qualify as an epiphany?
> To: con...@li...
> Message-ID: <8BD...@vo...>
> Content-Type: text/plain; charset=us-ascii
>
>
> On 24 Jan 2014, at 20:00, Jim Crowell <jac...@ma...> wrote:
>
> > ...since configobj/validate can be used to schema-validate input in
> > already-converted dicts, they can be used to validate json or yaml as
> > well as ini files (not sure that it would work for all possible yaml
> > files)...
> >
>
>
> Well, the goal with validate was to create a reusable library that could
> be used for validation against arbitrary text sources. So if you find it
> useful *great*. I've not directly tried it for yaml or json, but I can
> imagine it being useful there.
>
> Michael
|