Daniel Lemire
2058b47dfe
adding padded string builder ( #2592 )
...
* adding padded string builder
* minor rename
* deleting copy constructor
* typo
* [no-ci] tuning documentation.
2026-01-18 20:18:19 -05:00
Liqiang TAO
21342a4142
Fix some wrong content in doc ( #2542 )
2025-11-10 11:24:38 -05:00
Daniel Lemire
d0e841d3e9
Release Candidate 4.2.2 ( #2539 )
...
* adding documentation.
* release candidate
2025-11-06 12:00:21 -05:00
Daniel Lemire
2b9c8977af
using _json for compile-time JSON strings. ( #2536 )
2025-11-03 11:03:21 -05:00
Daniel Lemire
c3d1d62dfe
use cpp
2025-10-17 20:45:57 -04:00
Daniel Lemire
ec352430a0
JSONPath is now an RFC ( #2517 )
...
* JSONPath is now an RFC
* up
2025-10-17 13:35:04 -04:00
Dirk Stolle
dda2dafa30
fix some typos ( #2446 )
2025-09-15 18:23:13 -06:00
Joseph Olabisi
fb9a689dff
Adding DOM support for json path with wildcard ( #2346 )
...
* wip brute-force wildcard for json_path
* wip - bruteforce surface wildcard with result
* partially handle keys with wildcard
* wip - nested paths/pointers on wildcard results
* wip
* wip - handling child properties of wildcard result
* done - handling child properties of wildcard result
* fix key
* add support for wildcard for arrays
* handle array INCORRECT_TYPE
* rename at_path_new to at_path_with_wildcard
* add benchmark
* fix benchmark
* use memcmp
* minor improvements
* refactor to tail recursion
* nit
* approximately 30% improvement in runtime
* nit
* corrected logic
* nit
* cleanup
* add some initial tests
* cleanup 2
* modified: CMakeLists.txt
* cleanup
* cleanup
* cleanup
* cleanup
* restore examples/quickstart/CMakeLists.txt
* cleanup
* restore quickstart.cpp
* revert array-inl.h
* cleanup array-inl.h
* revert object-inl.h
* cleanup object-inl.h
* cleanup
* nit
* nit
* add test
* address some feedbacks
* address additional feedbacks (copilot)
* final changes based on feedback - reduce string allocations
* fix bug in object-inl.h
* fix logic for wildcards inside arrays
* add test for wildcard in nested array
* refactor and create util for getting key and json path
* minor error handling
* refactor process_json_path_of_child_element from recursion to loop in order to prevent stack overflow
* fix bug with array, add boundary check to get_next_key_and_json_path function
* add more tests
* fix boundary check and unnecessary string allocation
* minor changes
* fix
* fix jsonpathutil
* remove unneccessary string allocation
* some minor fixes
* documentation
* removing printout
* various fixes
* reorg of the CI test file
---------
Co-authored-by: Daniel Lemire <daniel@lemire.me >
2025-08-13 21:16:32 -04:00
Daniel Lemire
0cd774097f
[skip ci] doc fixes
2025-07-14 23:46:30 -04:00
Cuda Chen
7d86b04247
Add document and tests of std::ranges support of DOM API ( #2381 )
...
* Add document and tests of std::ranges support of DOM API
* Alter lambda
* Fix require of range
2025-06-24 15:13:44 -04:00
Daniel Lemire
a260c967ed
adding test for issue 2375 ( #2376 )
...
* adding test for issue 2375
* update
* removing space
2025-06-02 09:24:40 -04:00
Daniel Lemire
8d34e14000
Update dom.md
2025-05-31 00:27:28 -04:00
Daniel Lemire
818c0491a1
Treat -0 as -0.0 when SIMDJSON_MINUS_ZERO_AS_FLOAT is set ( #2364 )
...
* In the DOM API, treat -0 as -0.0
* documenting...
* adding it to On-Demand
2025-04-18 13:56:02 -04:00
Daniel Lemire
00843d2711
better documentation
2025-04-16 11:45:52 -04:00
Dirk Stolle
726c3eb611
fix several typos ( #2348 )
2025-03-17 09:57:08 -04:00
Daniel Lemire
f53981d945
Update dom.md
2024-11-01 12:23:35 -04:00
Daniel Lemire
6cd8a6d776
adding pad function ( #2283 )
2024-10-29 21:26:01 -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
Daniel Lemire
a05a56856d
fix: use On-Demand throughout. ( #2222 )
2024-07-29 15:54:21 -04:00
Daniel Lemire
c4654553dd
[skip ci] windows and unicode
2024-03-26 09:31:50 -04:00
Daniel Lemire
aef7111c05
Documenting Unicode support in JSONPath and JSON Pointer ( #2132 )
...
* Documenting our support of JSON Path and JSON Pointer vs. Unicode characters
* using more standard terminology (nitpicking)
* specifying UTF-8 encoding
* allow char8_t when compiling as C++20
* casting
* minor doc corrections
2024-02-15 20:28:38 -05:00
Daniel Lemire
68ba9a1b2a
Adding a few spaces (minor formatting) ( #2059 )
2023-08-30 20:23:58 -04:00
Cuda-Chen
cf0551edf5
Add pretty print for DOM
...
Add pretty print for DOM with documentation.
Currently, the indentation is fixed to four spaces.
Close #1329 .
2023-07-08 21:09:57 +08:00
Daniel Lemire
b5cf53232c
More documentation.
2023-04-06 10:52:18 -04:00
Daniel Lemire
3571f3a8d0
Additional documentation.
2023-03-18 16:38:16 -04:00
Daniel Lemire
8a26cb3c8e
Adding a couple of string tests. ( #1935 )
...
* Adding a couple of string tests.
2023-01-05 21:18:54 -05:00
Daniel Lemire
a5db75e1a6
Adding more development checks to the DOM front-end ( #1915 )
...
* This adds SIMDJSON_DEVELOPMENT_CHECKS to the DOM API to help users
in the scenario of issue 1914.
* More documentation and warnings.
* Updating following comments by Tyson
2022-10-17 09:11:09 -04:00
Daniel Lemire
b4b1927b0f
Making the documentation more explicit. ( #1765 )
2021-12-21 09:51:20 -05:00
Daniel Lemire
2763f7e719
Fixing issue 1755 ( #1756 )
2021-11-24 09:28:28 -05:00
strager
ac179ff40f
Fix broken links in documentation ( #1753 )
2021-11-12 08:47:22 -05:00
Daniel Lemire
fc0934755a
[no ci] Adding new "include <iostream>" lines in the documentation following the recent removal of iostream from our headers.
2021-08-13 11:23:16 -04:00
Daniel Lemire
c6ef2105ab
Minor tweak.
2021-07-27 10:56:05 -04:00
Dirk Stolle
2abcc35031
fix serveral typos ( #1558 )
...
* fix typos in markdown files
* fix typos in CMake files
* fix typos in headers and test code
2021-05-01 10:19:53 -04:00
Daniel Lemire
d0821adf0e
This implements string serialization for On Demand instances. ( #1527 )
...
* This implementations string serialization for On Demand instances.
* Adding more documentation.
* Another remark.
* Marking the new functions as inline.
* casts apparently do not work.
* Upgrading the API.
* Making the code really free from exceptions.
* At another fix for exceptionless.
* Modify to_chars so that it does not pad integers with '.0'.
* Negative 0 cannot be expressed as an integer.
* Again, accomodating exceptionless usage.
* Using x <= -0 does not allow you to determine the sign since 0 <= -0. I am not sure where
this bug comes from.
2021-04-01 11:25:00 -04:00
Daniel Lemire
6dc98561a9
Port the performance notes to "on demand". ( #1496 )
...
* Port the performance notes to "on demand".
* No more white space.
* Trimmed another space.
2021-03-16 17:32:38 -04:00
Daniel Lemire
02f9b83353
This moves us to On Demand as the default front-end. ( #1494 )
...
* This moves us to On Demand as the default front-end.
* Made casting magical
* Adding another section
* Undoing my damage.
2021-03-12 14:19:11 -05:00