Documentation Source Text

Check-in [0bcdcaff9c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update the JSON1 documentation to state the 2000-level limit on recursion.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0bcdcaff9c9de104e012e58843889822120eaa8aaf58bdd0b6f9e5b908a9cd3a
User & Date: drh 2017-04-11 19:15:53
Context
2017-04-11
19:19
Fix typos in the howtocorrupt.html document. check-in: 20b925f012 user: drh tags: trunk
19:15
Update the JSON1 documentation to state the 2000-level limit on recursion. check-in: 0bcdcaff9c user: drh tags: trunk
2017-04-08
11:38
Clarify what it means when it says "JSON1 is not available by default." check-in: 16bd995f65 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/json1.in.

265
266
267
268
269
270
271








272
273
274
275
276
277
278

<p>
The json1 extension uses the [sqlite3_value_subtype()] and
[sqlite3_result_subtype()] interfaces that were introduced with
SQLite version 3.9.0 ([dateof:3.9.0])
The json1 extension will not work
in earlier versions of SQLite.









<h1>Function Details</h1>

<p>The following sections provide additional detail on the operation of
the various functions that are part of the json1 extension.

<tcl>hd_fragment jmini {json SQL function} {json}</tcl>







>
>
>
>
>
>
>
>







265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286

<p>
The json1 extension uses the [sqlite3_value_subtype()] and
[sqlite3_result_subtype()] interfaces that were introduced with
SQLite version 3.9.0 ([dateof:3.9.0])
The json1 extension will not work
in earlier versions of SQLite.

<p>
The current implementation of this JSON library uses a recursive descent
parser.  In order to avoid using excess stack space, any JSON input that has
more than 2000 levels of nesting is considered invalid.   Limits on nesting
depth are allowed for compatible implementations of JSON by
[https://tools.ietf.org/html/rfc7159#section-9|RFC-7159 section 9].


<h1>Function Details</h1>

<p>The following sections provide additional detail on the operation of
the various functions that are part of the json1 extension.

<tcl>hd_fragment jmini {json SQL function} {json}</tcl>