<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 1, 2016 at 11:05 AM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><br>
> Wouldn't that be useful, in order to build a unit file validator / parser<br>
> for example?<br>
<br>
</span>As mentioned, there's "systemd-analyze verify" which not only checks<br>
the general formatting but also tries to parse the various settings.</blockquote><div><br></div><div>Maybe I should have been clearer in my original message: the information that I'm looking for is <i>only </i>about this "general formatting" that you mentioned above.</div><div>To make a comparison with JSON, that would basically be what you see on <a href="http://json.org/">http://json.org/</a> and more precisely the grammar definition in <a href="http://rfc7159.net/rfc7159">http://rfc7159.net/rfc7159</a>.</div></div><div><br></div>-- <br><div class="gmail_signature">Damiano Albani</div>
</div></div>