Joseph Olabisi
120e69f13c
cleanup object-inl.h
2025-05-06 14:51:25 +01:00
Joseph Olabisi
14922fa6c4
revert object-inl.h
2025-05-06 14:37:50 +01:00
Joseph Olabisi
8fa2629c84
cleanup array-inl.h
2025-05-06 02:05:58 +01:00
Joseph Olabisi
c51c2d2ce9
revert array-inl.h
2025-05-06 01:55:21 +01:00
Joseph Olabisi
1a11e19d07
cleanup
2025-05-03 13:46:11 +01:00
Joseph Olabisi
671a81f4e3
nit
2025-04-27 00:02:23 +01:00
Joseph Olabisi
008d89eb56
corrected logic
2025-04-26 21:01:05 +01:00
Joseph Olabisi
531567ae94
approximately 30% improvement in runtime
2025-04-18 22:52:12 +01:00
Joseph Olabisi
46ae2d250f
nit
2025-04-18 22:19:49 +01:00
Joseph Olabisi
c35122bcb4
refactor to tail recursion
2025-04-18 21:43:44 +01:00
Joseph Olabisi
f380604de5
minor improvements
2025-04-18 21:05:35 +01:00
Joseph Olabisi
00d01ea0f5
use memcmp
2025-04-15 11:22:43 +01:00
Joseph Olabisi
c9ccb2d139
rename at_path_new to at_path_with_wildcard
2025-04-08 08:43:46 +01:00
Joseph Olabisi
d99072982f
handle array INCORRECT_TYPE
2025-04-05 20:52:53 +01:00
Joseph Olabisi
6b7f987cd5
add support for wildcard for arrays
2025-04-05 20:14:00 +01:00
Joseph Olabisi
d32cd20ce6
fix key
2025-04-01 09:31:43 +01:00
Joseph Olabisi
2013a46518
done - handling child properties of wildcard result
2025-03-29 18:40:40 +00:00
Joseph Olabisi
6cb1911d3a
wip - handling child properties of wildcard result
2025-03-26 10:31:58 +00:00
Joseph Olabisi
9ff7d2ccbe
wip
2025-03-25 09:59:22 +00:00
Joseph Olabisi
fa4a4ad8f0
wip - nested paths/pointers on wildcard results
2025-03-23 23:02:55 +00:00
Joseph Olabisi
de6ad3c60c
partially handle keys with wildcard
2025-03-21 22:31:47 +00:00
Joseph Olabisi
78025fdd64
wip brute-force wildcard for json_path
2025-03-11 21:16:26 +00:00
Daniel Lemire
587beae307
prevent int to pointer implicit conversion for operator[](const char *) ( #2286 )
2024-11-01 18:11:43 -04:00
Daniel Lemire
6cd8a6d776
adding pad function ( #2283 )
2024-10-29 21:26:01 -04:00
Daniel Lemire
36f5dbcb75
documentation for threading... ( #2277 )
...
* documentation for threading...
* remove const
* doc
2024-10-11 12:34:11 -04:00
Daniel Lemire
c066b5421b
Jsonpath ( #2272 )
...
* Add support for JSONPath with '$' prefix and integrate into dom::at_path (#2266 )
- Updated `json_path_to_pointer_conversion` to support JSONPath starting with the '$' prefix, while maintaining compatibility with the existing implementation.
- Moved `json_path_to_pointer_conversion` to a separate header file for better modularity and to support JSONPath queries in `dom` mode.
- Implemented `at_path` functionality in `dom` mode to enable querying JSON using JSONPath.
- Added unit tests to validate the new JSONPath support in `dom` mode and ensure compatibility with both standard and existing JSONPath formats.
* two minor fixes
* more tests and documentation
* damn compiler warnings
* more documentation fixes
---------
Co-authored-by: Zhengguo Yang <yangzhgg@gmail.com >
2024-10-08 10:37:59 -04:00
didarpin
58173a6a1f
Added the functionality to convert dom::object and dom::array to dom::element. ( #2221 )
...
Co-authored-by: didarpin <didarpin@163.com >
2024-07-25 22:26:20 -04:00
Daniel Lemire
66fd28fc00
Marking a few functions as pure (no side-effect) ( #2210 )
...
* marking a few trivial functions as pure
* adding other marks
* additional marks
* vs will issue warnings, so don't use [[gnu::pure]] when __clang__ or __GNUC__ is not defined
2024-07-04 16:26:11 -04:00
halx99
5d35e7ca1f
Fix compile error on llvm-19 ( #2187 )
2024-05-30 10:52:38 -04:00
Daniel Lemire
ac719827ff
fix: solve issue 2181 ( #2182 )
2024-05-11 20:44:38 -04:00
pnck
e2f879751c
fix: issue #2154 ( #2178 )
2024-05-10 00:33:09 -04:00
Daniel Lemire
8519e24f12
issue 2170 ( #2172 )
2024-04-24 01:41:40 -04:00
Daniel Lemire
c4654553dd
[skip ci] windows and unicode
2024-03-26 09:31:50 -04:00
Daniel Lemire
e510ed2774
Release candidate (3.7.0) ( #2136 )
...
* Release candidate (3.7.0)
* some extra comments.
2024-02-23 16:50:55 -05:00
Bo Anderson
33610b59eb
Allow some iterators to be used in standard C++ iterator functions ( #2106 )
2024-02-05 17:52:01 -05:00
Daniel Lemire
23290ae48d
retiring deprecated DOM APIs ( #2109 )
2024-02-04 21:58:48 -05:00
Bo Anderson
02bee7d1b9
Add load_into_document to simdjson::dom::parser ( #2103 )
2024-01-08 20:30:26 -05:00
Dirk Stolle
edc36a87ab
fix a small typo ( #2096 )
2023-12-09 23:20:51 -05:00
Daniel Lemire
8b2af0473a
skip UTF-8 BOM if present. ( #2079 )
2023-10-30 12:51:02 -04:00
Daniel Lemire
13405afd4b
This provides verbose static_assert messages ( #2074 )
...
* This provides verbose static_assert messages
* minor fix
2023-10-20 15:42:18 -04:00
Momtchil Momtchev
e11ad58aad
add a total order for elements ( #2072 )
2023-10-09 15:41:57 -04:00
John Keiser
bb54946b78
Disallow including headers from implementation files
2023-07-20 10:01:22 -07:00
John Keiser
cbe562c1d5
Fix header define names for inline files
2023-07-17 13:55:07 -07:00
John Keiser
30437d0ff6
A few header fixes for dom and ondemand
2023-07-17 13:53:50 -07:00
John Keiser
1e97af7dfb
Merge pull request #2031 from simdjson/jkeiser/vscode-green
...
Get headers compiling in editor
2023-07-17 13:07:20 -07:00
John Keiser
ab09e96de9
Only use amalgamated.h in generic/
2023-07-16 19:18:58 -07:00
John Keiser
62868a2f53
Catch more headers without which it won't compile
2023-07-15 17:16:18 -07:00
John Keiser
28db262b47
Make SIMDJSON_AMALGAMATED checking much stricter
2023-07-15 16:46:15 -07:00
John Keiser
a442842f0d
Use SIMDJSON_AMALGAMATED (which works in-editor and out) instead of editor-specific tweaks
2023-07-15 14:53:02 -07:00
John Keiser
9a0527c380
Only make editor stuff work in editor
2023-07-14 20:05:05 -07:00