Pekka Enberg
|
a3d23c2738
|
Merge 'Fix jsonb functions check valid json string binary' from
closes: #2820
```
turso> select user->>'age' as age from json_user;
┌─────┐
│ age │
├─────┤
│ 30 │
└─────┘
```
Closes #2821
|
2025-09-10 14:44:54 +03:00 |
|
Mikaël Francoeur
|
e6d3d6ea54
|
1-arg json_each implementation
|
2025-09-05 14:47:40 -04:00 |
|
themixednuts
|
b6e64587cb
|
fix: jsonb functions to check if binary is json string
chore: match sqlite error
chore: use existing slice variable
add better parsing logic, and validation
see sqlite source code @ sqlite/src/json.c -> static int jsonArgIsJsonb
chore: clippy
|
2025-09-01 19:52:57 -05:00 |
|
Mikaël Francoeur
|
5ed2abf23f
|
remove Result from signature
|
2025-08-21 14:45:00 -04:00 |
|
Mikaël Francoeur
|
2ee0132afe
|
rename functions
|
2025-08-15 17:08:53 -04:00 |
|
Nils Koch
|
828d4f5016
|
fix clippy errors for rust 1.88.0 (auto fix)
|
2025-07-12 18:58:41 +03:00 |
|
Nils Koch
|
2827b86917
|
chore: fix clippy warnings
|
2025-06-23 19:52:13 +01:00 |
|
Pekka Enberg
|
6258dda5f1
|
core/json: Rename json_path.rs to path.rs
|
2025-03-31 09:40:01 +03:00 |
|
Ihor Andrianov
|
92a745ca49
|
fix tests
|
2025-03-30 18:58:39 +03:00 |
|
Ihor Andrianov
|
c426c13763
|
make tests pass
|
2025-03-30 18:58:38 +03:00 |
|
Ihor Andrianov
|
568dc54b9e
|
big cleanup
|
2025-03-30 18:58:33 +03:00 |
|
Ihor Andrianov
|
a983c979c6
|
jsonb_merge, json_group_array, json_group_object
|
2025-03-30 18:47:33 +03:00 |
|
Ihor Andrianov
|
e5199b0f1a
|
add tests
|
2025-03-24 13:17:59 +02:00 |
|
Ihor Andrianov
|
479dd9c35a
|
clippy
|
2025-03-23 21:11:35 +02:00 |
|
Ihor Andrianov
|
c4549ad2cd
|
split json traversal and mutation operation logic
|
2025-03-23 20:37:12 +02:00 |
|
Ihor Andrianov
|
252583cb1e
|
add jsonb_obj jsonb_array
|
2025-03-20 15:22:52 +02:00 |
|
Ihor Andrianov
|
62916f3a97
|
cargo clippy
|
2025-03-19 11:59:20 +02:00 |
|
Ihor Andrianov
|
32ea972151
|
make tests pass
|
2025-03-19 11:29:46 +02:00 |
|
Ihor Andrianov
|
403d0e8c21
|
implemented remove and replace in jsonb struct
|
2025-03-18 21:42:27 +02:00 |
|
Ihor Andrianov
|
328ebfcd9e
|
clippy
|
2025-03-16 15:31:06 +02:00 |
|
Ihor Andrianov
|
23d7d82b6c
|
add jsonb_extract function
|
2025-03-16 15:14:29 +02:00 |
|
Ihor Andrianov
|
a878738a1e
|
Fix jsonb bug with unclosed string and two commas in a row
|
2025-03-16 03:27:40 +02:00 |
|
Ihor Andrianov
|
dc6342c0de
|
Add jsonb impl to existing json functions where possible
|
2025-03-16 02:08:49 +02:00 |
|
Ihor Andrianov
|
353422a25c
|
Add follow json path in jsonb
|
2025-03-15 22:00:12 +02:00 |
|
Ihor Andrianov
|
b366045cb7
|
Rewrite parser to use slice and cursor instead of iterator
|
2025-03-14 19:47:18 +02:00 |
|
Ihor Andrianov
|
ffa0b1aaca
|
fix clippy
|
2025-03-12 16:08:16 +02:00 |
|
Ihor Andrianov
|
8a2740ad8a
|
cleanup
|
2025-03-12 15:34:36 +02:00 |
|
Ihor Andrianov
|
eb2d2fbd69
|
add tests
|
2025-03-12 15:03:41 +02:00 |
|
Ihor Andrianov
|
19e4bc8523
|
clippy
|
2025-03-12 15:03:41 +02:00 |
|
Ihor Andrianov
|
7bd10dd577
|
remove warnings and dead code
|
2025-03-12 15:03:40 +02:00 |
|
Ihor Andrianov
|
47554fda85
|
add serialization functions
|
2025-03-12 15:03:27 +02:00 |
|
Ihor Andrianov
|
1efc35c728
|
use bytes instead of parsed utf8
|
2025-03-12 15:03:26 +02:00 |
|
Ihor Andrianov
|
103c9bcb66
|
inital impl of json parsing
|
2025-03-12 15:02:49 +02:00 |
|