Skip to content

Commit 2a01181

Browse files
committed
parser data DOC improve flag description
1 parent 68f6eaf commit 2a01181

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/parser_data.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,9 @@ struct ly_in;
176176
be checked (length, range, pattern, ...) and if a value can be stored,
177177
it is. Calling separate validation on these data always checks all the
178178
restrictions as well. */
179-
#define LYD_PARSE_JSON_NULL 0x4000000 /**< Allow using JSON empty value 'null' within JSON input. By default such value
180-
is not supported and according to RFC 7951 '[null]' shall be used instead. */
179+
#define LYD_PARSE_JSON_NULL 0x4000000 /**< Allow using JSON empty value 'null' within JSON input, such nodes are
180+
silently skipped and treated as non-existent. By default, such values
181+
are invalid. */
181182

182183
#define LYD_PARSE_OPTS_MASK 0xFFFF0000 /**< Mask for all the LYD_PARSE_ options. */
183184

0 commit comments

Comments
 (0)