Hi Bertrand

I suppose it would be

    cat provisioning-model | jsmin | jq .

I have not tested this, however.

Regards
Julian


On Thu, Oct 5, 2017 at 3:39 PM, Bertrand Delacretaz
<bdelacre...@apache.org> wrote:
> On Thu, Oct 5, 2017 at 11:39 AM, Julian Sedding <jsedd...@gmail.com> wrote:
>> ...lets stick with JSON + comments...
>
> Is that format accepted by JSON tools? Can I for example do
>
>   cat provisioning-model | jq .
>
> ?
>
> Otherwise I fear the format combines the worst of both worlds: hard
> for humans to read and write (JSON) and not directly suitable for
> machine processing. In which case I suggest rediscussing the comments
> format/schema to make sure the result is pure JSON - maybe with
> _comment_ elements that tools can easily ignore.
>
> -Bertrand

Reply via email to