Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
json.c
2bd9f69
Fix JSONB edit so that when it is trying to reduce the size of an element
by drh
· 7 weeks ago
a01b7ad
Change json_group_object() so that it ignores entries where the label
by drh
· 8 weeks ago
94e22bc
Provide the SQLITE_BUG_COMPATIBLE_20250510 compile-time option that restores
by drh
· 2 months ago
844b457
Add enforcement of the obscure JSON5 syntax rule that the \0 escape
by drh
· 2 months ago
f087b6a
Fix a harmless warning about and oversize shift operation on malformed JSONB
by drh
· 2 months ago
d2fd099
Remove an extra conditional that was inserted earlier today and which
by drh
· 3 months ago
81cde80
Further improvements to the decision of whether or not a BLOB input is JSONB.
by drh
· 3 months ago
cbe4a26
Do a better job of providing bug compatibility with SQLite 3.44.0. See
by drh
· 3 months ago
6fe2a9a
Attempt to provide EBCDIC translations to the tables in the JSON
by drh
· 3 months ago
76076d4
Fix a typo accidently added to the prior check-in.
by drh
· 4 months ago
json-opt
3a7042e
This is an experimental optimization that attempts to keep a JSONB value
by drh
· 4 months ago
4d9384c
Fix a harmless typo in a code comment.
by drh
· 4 months ago
da5f813
Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.
by stephan
· 5 months ago
7bfa445
Additional changes making it easier to prove that integer overflow does not
by drh
· 5 months ago
a0d35d4
Convert some expensive NEVER() and ASSERT() macros into assert()s.
by drh
· 5 months ago
93df810
Small performance increase in jsonTranslateBlobToText().
by drh
· 5 months ago
bb4d2ed
Fix a bug in the parsing of some corner-case JSON PATH strings that contain
by drh
· 11 months ago
20c118f
Doc typo fix. No code changes.
by stephan
· 1 year, 2 months ago
fefe24d
For compatibility with PostgreSQL, when right-hand side of the ->> operator
by drh
· 1 year, 2 months ago
b833793
Fix the -> and ->> operators so that when the RHS is a string that looks like
by drh
· 1 year, 2 months ago
b4e7d59
Add the json_pretty(J) function for pretty-printing of JSON. An optional
by drh
· 1 year, 5 months ago
2800120
The value returned by the json_each.json field needs to survive longer than
by drh
· 1 year, 5 months ago
f7ad684
Fix harmless compiler warning seen with MSVC.
by mistachkin
· 1 year, 5 months ago
4dd59fd9
Fix the subtype on the value column from json_each/json_tree for cases
by drh
· 1 year, 5 months ago
71cdea8
Detect and respond to an OOM on the jsonStringTerminate() call of
by drh
· 1 year, 5 months ago
8babc01
Slight change to OOM handling in JSON to catch a corner case found by dbsqlfuzz.
by drh
· 1 year, 5 months ago
3ab9c02
Fix harmless compiler warnings seen with MSVC.
by mistachkin
· 1 year, 6 months ago
744581d
Add NEVER() and ALWAYS() macros for the JSON5-control-character change.
by drh
· 1 year, 6 months ago
json5-ctrl-char
9486178
Fix failure to detect unterminated string literals in json_valid() in the
by drh
· 1 year, 6 months ago
c24f536
Allow control characters in JSON5 string literals.
by drh
· 1 year, 6 months ago
b202a45
Fix a memory allocation bug in the (debug-use-only) json_parse() SQL function.
by drh
· 1 year, 6 months ago
91981fe
Detect malformed nested JSONB earlier and stop rendering to avoid long delays.
by drh
· 1 year, 6 months ago
af3824d
When generated text JSON from JSONB, do not continue descending into
by drh
· 1 year, 6 months ago
7f9a1ff
Avoid a potential buffer overread when handling corrupt json blobs.
by dan
· 1 year, 6 months ago
3fc7a34
When rendering JSONB back into text JSON, report an error if a zero-length
by drh
· 1 year, 6 months ago
6bb8ce6
Fix typo in the tag-20240123-a in a comment.
by drh
· 1 year, 6 months ago
blob-as-json
e318f10
If a BLOB looks like JSON when cast to text, then treat it as if it really
by drh
· 1 year, 6 months ago
41fb2ee
The -DSQLITE_JSON_BLOB_INPUT_BUG_COMPATIBLE compile-time option causes blob
by drh
· 1 year, 6 months ago
777a088
When backing out a character in a constructed string in JSON, first make sure
by drh
· 1 year, 6 months ago
6ad928d
Clutter the code with "fall-through" comments in order to suppress nuisance
by drh
· 1 year, 6 months ago
4093b29
Convert the JSON functions to use lookaside memory allocation whenever
by drh
· 1 year, 7 months ago
4c13d3c
Performance improvement by unwinding a loop in jsonAppendString().
by drh
· 1 year, 7 months ago
0546a28
Enhance the (undocumented, debug-only) json_parse() SQL function so that it
by drh
· 1 year, 7 months ago
b2b7490
Improved handling of malformed unicode within JSON strings.
by drh
· 1 year, 7 months ago
c2eff91
Add internal core-developer-only documentation of the JSONB format.
by drh
· 1 year, 7 months ago
3262ca8
In JSON - minor code cleanup and refactoring with a small size reduction
by drh
· 1 year, 7 months ago
459f7b1
Remove a stray comment in the JSON code.
by drh
· 1 year, 7 months ago
c4dd6b4
Add NEVER() to an unfalsifiable branch.
by drh
· 1 year, 7 months ago
fc76750
Fix JSON to JSONB translation so that it deals correctly with Infinity and NaN.
by drh
· 1 year, 7 months ago
095f2c5
Ensure that the insert/delete size delta on JSONB objects in the JSON cache
by drh
· 1 year, 7 months ago
4a5c96a
Fix harmless compiler warnings in JSON and FTS5.
by drh
· 1 year, 7 months ago
f7c78a2
Bug fix in the JSONB validator.
by drh
· 1 year, 7 months ago
001d1e7
Improvements to UTF8 handling, and especially the handling of invalid UTF8,
by drh
· 1 year, 7 months ago
891f1dc
Fix the JSON object label comparison object so that it works correctly even
by drh
· 1 year, 7 months ago
78e636b
Add NEVER to two unreachable branches in JSON.
by drh
· 1 year, 7 months ago
jsonb-valid
87399a5
Improvements to JSONB validation - catch more cases where the input does
by drh
· 1 year, 7 months ago
cc1a39f
Validity checking of text nodes in JSONB.
by drh
· 1 year, 7 months ago
ad6bc61
The json_error_position() function now reports an approximate byte offset
by drh
· 1 year, 7 months ago
5a890b4
json_error_position() now uses jsonValidityCheck() to find the approximate
by drh
· 1 year, 7 months ago
001caa7
json_valid(*,8) allows minus-signs on hexadecimal literals.
by drh
· 1 year, 7 months ago
ba55056
Rename the new test-control to SQLITE_TESTCTRL_JSON_SELFCHECK. Make it so
by drh
· 1 year, 7 months ago
7d2eaae
Add SQLITE_TESTCTRL_VALIDATE_JSONB, which if enabled under SQLITE_DEBUG causes
by drh
· 1 year, 7 months ago
ce46e0e
Work toward enhanced functionality for json_valid() with deep checking
by drh
· 1 year, 7 months ago
b89e64d
Fix a potential use of uninitialized value in json_valid() with 2nd
by drh
· 1 year, 7 months ago
bfa0de8
Fix a harmless UBSAN warning.
by drh
· 1 year, 7 months ago
2a27be2
Fix a potential problem RCStr access on a JsonString object that is not
by drh
· 1 year, 7 months ago
5a238ff
Rework the jsonEachPathLength() routine in json_tree() so that it is
by drh
· 1 year, 8 months ago
5b6b703
Improved detection of corrupt JSONB in the jsonReturnFromBlob() function.
by drh
· 1 year, 8 months ago
a9c8469
Do correct comparisons between object labels in JSON even when the two labels
by drh
· 1 year, 8 months ago
b597fea
Correctly handle 8-byte sizes in the JSONB format.
by drh
· 1 year, 8 months ago
9df01b5
Fix the routine that determines the json_tree.path value for the first row
by drh
· 1 year, 8 months ago
json-label-compare
6a8581d
The rule for the RHS of the ->> and -> operators when the RHS does not begin
by drh
· 1 year, 8 months ago
91ec00c
Increased rigor in comparisons between object labels in JSON.
by drh
· 1 year, 8 months ago
5afd67b
Use extra assert() statement to silence harmless static analyzer warnings.
by drh
· 1 year, 8 months ago
jsonb
a0de454
Miscellaneous comment cleanup and typo fixes.
by drh
· 1 year, 8 months ago
8eac91f
Use strspn() to accelerate whitespace bypass in the JSON parser.
by drh
· 1 year, 8 months ago
590aaff
Small performance gain by unwinding the string literal delimiter search
by drh
· 1 year, 8 months ago
fa43e21
Use an assert() to fix a harmless static analyzer warning.
by drh
· 1 year, 8 months ago
ae2e972
Fix OOM and corrupt JSONB handling in json_patch().
by drh
· 1 year, 8 months ago
3cdb079
Rename the internal routine jsonMergePatchBlob() to just jsonMergePatch().
by drh
· 1 year, 8 months ago
f26e26a
Fixes to error handling in json_array_length().
by drh
· 1 year, 8 months ago
0b8b1c3
Do not make the input JSONB editable in json_remove() if there are no PATH
by drh
· 1 year, 8 months ago
3fedb7e
Fix errors in rendering JSON5 escape sequences embedded in JSONB.
by drh
· 1 year, 8 months ago
9c794b9
Continuing simplifications and code cleanup.
by drh
· 1 year, 8 months ago
99c4169
Remove reachable ALWAYS and NEVER macros.
by drh
· 1 year, 8 months ago
732fb64
Two new NEVER macros.
by drh
· 1 year, 8 months ago
dc138cb
Repair issues and inefficiencies found during testing.
by drh
· 1 year, 8 months ago
2ff73a5
Better pre-scan size estimations for objects in the JSON parser resulting
by drh
· 1 year, 8 months ago
b7fd951
Back off on the use of strlen() for situations where sqlite3_value_bytes()
by drh
· 1 year, 8 months ago
9af45dc
Remove dead code. Improved reporting of errors in JSON inputs.
by drh
· 1 year, 8 months ago
16e8a5b
Avoid problems when the path argument to json_tree() contains embedded U+0000
by drh
· 1 year, 8 months ago
a3bf077
Ensure that OOM conditions in the generation of the "bad JSON path" error
by drh
· 1 year, 8 months ago
0a18a58
Enable incorrect JSONB to be rendered into text without hitting an
by drh
· 1 year, 8 months ago
78fa018
Do not let bad hexadecimal digits in malformed JSONB cause an assertion fault.
by drh
· 1 year, 8 months ago
eb18ae3
Minor code changes for consistency and to simplify testing.
by drh
· 1 year, 8 months ago
c78c3c9
Implement strict JSONB checking in the json_valid() function.
by drh
· 1 year, 8 months ago
8f8d481
Fix harmless compiler warnings reported by MSVC.
by drh
· 1 year, 8 months ago
c1e8574
Code and comment cleanup. Everything should work the same.
by drh
· 1 year, 8 months ago
53c2160
Fix harmless compiler warnings. Refactor some identifier names for
by drh
· 1 year, 8 months ago
a11aaff
Take extra care to ensure that JSONB values that are in cache are actually
by drh
· 1 year, 8 months ago
Next »