mirror of
https://github.com/adulau/pdns-qof.git
synced 2024-12-23 01:05:58 +00:00
Clarification of the example appendix
This commit is contained in:
parent
5d2335fcd1
commit
d0cb9a4019
1 changed files with 2 additions and 12 deletions
|
@ -172,18 +172,8 @@ The document does not describe the protocol (e.g. <xref target="RFC3912">WHOIS</
|
|||
<section title="Overview">
|
||||
<t>The formatting of the answer follows the <xref target="RFC4627">JSON</xref> format. The order of the fields is not significant for the same resource type. That means, the same name tuple plus timing information identifies a unique answer per server.</t>
|
||||
<t>The intent of this output format is to be easily parsable by scripts. Each JSON object is expressed on a single line to be processed by the client line-by-line. Every implementation MUST support the JSON output format.</t> <!-- note: it is "parsable" if you want to be really nit-picking. See: https://en.wiktionary.org/wiki/parsable -->
|
||||
</section>
|
||||
<section title="Example">
|
||||
<figure><preamble>A sample output using the JSON format:</preamble><artwork><![CDATA[
|
||||
... (list of )...
|
||||
{ "count": 97167,
|
||||
"time_first": "1277353744",
|
||||
"rrtype": "A", "rrname": "google-public-dns-a.google.com.",
|
||||
"rdata": "8.8.8.8",
|
||||
"time_last": "1386405372" }
|
||||
... (separated by newline)...
|
||||
]]></artwork></figure>
|
||||
</section>
|
||||
<t><xref target="app-additional">Examples of JSON</xref> output are in the appendix.</t>
|
||||
</section>
|
||||
<section title="ABNF grammar">
|
||||
<figure><preamble>Formal grammar as defined in <xref target="RFC2234">ABNF</xref></preamble><artwork><![CDATA[
|
||||
answer = entries
|
||||
|
|
Loading…
Reference in a new issue