2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#2084] doc warning about using extended JSON features

This commit is contained in:
Andrei Pavel
2021-12-14 18:42:20 +02:00
parent bbfb0a5b35
commit b3957c688e
2 changed files with 11 additions and 5 deletions

View File

@@ -65,11 +65,12 @@ means that some trickery with escaping double quotes will be involved. Note
there is no need to escape any other character, unless you want to specify
non-printable characters.
Also, while Kea's JSON parser supports comments and multi-line string, they
are not part of JSON standard. That means that external tools, such as python
or Sphinx parsers are not able to deal with them. Therefore comments must
be removed and long strings (such as command descriptions or example invocations)
are to be presented as a list of strings ( e.g. [ "line1", "line2, "line3" ]).
Also, while Kea's JSON parser supports comments, multi-line strings and extra
commas, they are not part of JSON standard. That means that external tools, such
as python or Sphinx parsers are not able to deal with them. Therefore comments
and extra commas must be removed. Long strings (such as command descriptions or
example invocations) are to be presented as a list of strings
e.g. [ "line1", "line2, "line3" ].
@section docsDevelGuide Generating Developer's Guide