That would work with some kind of importJSON function, that will automatically 
convert a JSON into a valid Nix expression with literals.

-------- Original message --------
From: jeaye <[email protected]> 
Date: 28/02/2016  16:37  (GMT+01:00) 
To: Anand Patil <[email protected]> 
Cc: nix-dev <[email protected]> 
Subject: Re: [Nix-dev] NixON initiative 

On Sun, Feb 28, 2016 at 03:11:15PM +0000, Anand Patil wrote:
> What about using some kind of JSON notation for this? There are some
> mismatches between JSON and Nix primitives; but on the other hand JSON is
> easy to parse and generate from every language, and many people are
> familiar with it.

I wholeheartedly concur; please don't make another JSON-like format.
JSON is so well supported in so many languages and, I believe, it does
everything we'd need.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to