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
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
2fe3a1467d
This PR adds a convenience method (is_string) as well as a new method ( #2131 )
...
key_raw_json_token() to get the raw key token.
2024-02-15 10:39:30 -05:00
Francisco Geiman Thiesen
2b532489cc
Adding on-demand support for a subset of json path. ( #2127 )
...
* First implementation of the conversion logic.
- Not yet tested
- Not yet compiled
- Not yet used in ondemand array/object/etc...
* Adding at_path to ondemand arrays
* Adding at_path to array, document and value.
* Adding at_path to ondemand object as well.
Pending:
- Building
- Adding tests for each of the on-demand classes usage of at_path
- Properly documenting the subset of json path that is currently supported.
* Adding a simple json_path test to on_demand
* Still trying to compile the ondemand_readme_examples test with the at_path() call
* Fixing linking issues with array::at_path
* Fixing issues with the path -> pointer conversion and removing comments
* Adding a clone of json_pointer to test json_path extensively
* Adding ondemand_json_path_tests (all tests passing)
* Adding documentation for at_path()
* Removing some newlines
* Removing simdjson_result from the return type of the string conversion function. Now json_path_to_pointer_conversion returns a std::string.
* Fixing typo
* Making string concatenation explicit to avoid ubuntu gcc12 issue with -O3 flag.
* Addressing latest reviews
* Addressing latest reviews
2024-02-15 09:47:25 -05:00
Daniel Lemire
32d072a208
fixing issue2120 ( #2121 )
2024-02-08 11:34:36 -05:00
Daniel Lemire
5eab555053
documenting the support for custom types ( #2098 )
...
* documenting the support for custom types
* fixes
* getting around -Weffc++
* calling get_raw_json_string()
* documenting the support for custom types
* fixes
* getting around -Weffc++
* calling get_raw_json_string()
2024-02-06 13:20:35 -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
Daniel Lemire
88bf5cb6d9
version bump
2024-01-29 10:43:12 -05:00
Bo Anderson
02bee7d1b9
Add load_into_document to simdjson::dom::parser ( #2103 )
2024-01-08 20:30:26 -05:00
Daniel Lemire
6ef555e6fb
This PR updates the backup string_view implementation. It also adds a few comments to our README.md file. ( #2105 )
...
* This PR updates the backup string_view implementation. It also adds a few comments to our README.md file.
* removing trailing space
2024-01-08 14:52:00 -05:00
Daniel Lemire
2fa729922e
fix for issue 2099 ( #2100 )
...
* fix for issue 2099
* avoid exceptions.
* fix for exception-less code
2023-12-19 12:15:59 -05:00
Dirk Stolle
edc36a87ab
fix a small typo ( #2096 )
2023-12-09 23:20:51 -05:00
Daniel Lemire
6060be2fdf
version bump
2023-12-08 12:09:45 -05:00
Daniel Lemire
3251f61c9d
fix for issue 2093 ( #2094 )
2023-12-07 12:42:28 -05:00
Daniel Lemire
5541e78402
version bump
2023-12-01 13:56:12 -05:00
Daniel Lemire
9a9ed0e2da
Fix Visual Studio 64-bit ARM regression ( #2091 )
...
* fix for ARM64 kernel under Visual Studio (bug introduced in release 3.6.1)
* revert comment
* updating amal.
2023-12-01 13:55:28 -05:00
Daniel Lemire
bca8d3e277
version bump.
2023-11-30 18:13:02 -05:00
Ludovic Henry
b8a6b889c7
review: Revert changes in include/simdjson/implementation_detection.h
2023-11-29 22:09:25 +00:00
Ludovic Henry
7898234bb3
Make simdjson riscv64 aware
2023-11-29 19:28:14 +00:00
Daniel Lemire
3bb2f0a186
Return a better error when a user tries to cast a document that has already been accessed to a value ( #2085 )
...
* Fix.
* adding a test, cleaning some comments, adding documentation
* Correcting the JSON input.
* adding another test
2023-11-26 14:13:05 -05:00
Daniel Lemire
0173eaaad7
Macro-based workaround for Visual Studio ARM ( #2082 )
2023-11-20 09:58:50 -05:00
int mian
665cbba159
fix typo ( #2080 )
2023-11-06 07:34:12 -05:00
Daniel Lemire
17cb457ffd
version bump
2023-10-30 12:52:49 -04:00
Daniel Lemire
8b2af0473a
skip UTF-8 BOM if present. ( #2079 )
2023-10-30 12:51:02 -04:00
Daniel Lemire
29fbbee852
version bump
2023-10-27 20:57:30 -04:00
Daniel Lemire
baa7d961ce
Allowing users to write directly to std::optional<std::string> ( #2078 )
...
* Allowing users to write directly to std::optional<std::string>
* better fallback
* do not force the cast to std::string
* missing header
* removing abort
2023-10-27 20:56:12 -04:00
Daniel Lemire
503da5ec83
raw_json() on values
2023-10-27 16:22:22 -04:00
Daniel Lemire
9dd6e9c959
version bump
2023-10-25 19:35:51 -04:00
Daniel Lemire
6db330c1a2
Automating string reallocation when it is possible ( #2076 )
...
* Automating string reallocation
* Typo
2023-10-25 19:34:52 -04:00
Daniel Lemire
993ac4b87c
Adding the ability to write directly to an std::string. It is mostly syntaxic sugar ( #2075 )
2023-10-25 19:32:12 -04:00
Daniel Lemire
f7e281cadc
removing noisy warning
2023-10-20 15:45:40 -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
Daniel Lemire
1875ed6550
Version bump.
2023-09-20 10:13:47 -04:00
Piotr Rżysko
cc24bb4114
Removed number parsing fallback ( #2056 )
2023-08-29 18:28:21 -04:00
Daniel Lemire
b2e20e04c9
Standard compatibility fixes ( #2053 )
...
* Standard compatibility fixes
* missing commit
* Should work.
* Fix.
* Fix.
* Should work now.
---------
Co-authored-by: Daniel Lemire <dlemire@lemire.me >
2023-08-25 10:18:02 -04:00
Daniel Lemire
bf849e3619
Preparing release
2023-08-22 14:05:14 -04:00
Daniel Lemire
c09e8dc225
Icelake processes 64 bytes at a time when processing strings. ( #2050 )
...
Co-authored-by: Daniel Lemire <dlemire@lemire.me >
2023-08-18 14:37:10 -04:00
Daniel Lemire
f043db4dca
Preparing release.
2023-08-02 16:01:39 -04:00
Daniel Lemire
e3bd0828d1
Fix for issue 2045. ( #2046 )
...
* Fix for issue 2045.
* Retauring single-header code.
2023-08-02 16:00:45 -04:00
John Keiser
06afe9ecb3
New escape algorithm with significantly less data dependency
2023-08-02 08:28:05 -07:00
John Keiser
2ccd5b9c97
Merge pull request #2039 from simdjson/jkeiser/more-headers
...
Disallow including headers from implementation files
2023-07-21 12:09:57 -07:00
Daniel Lemire
1cdcbf79b3
We do actually support legacy 32-bit systems, although not with fast kernels. ( #2041 )
2023-07-21 13:53:10 -04:00
Calum McConnell
7013ed98cc
Peek(0) is an error on 32-bit systems, where pointers are indistinguishable from int32_t ( #2040 )
2023-07-21 13:52:53 -04:00
John Keiser
b383c717d7
Have amalgamate.py verify it's actually amalgamating all the files
2023-07-20 15:11:52 -07:00
John Keiser
ae9ba2bed2
Rename SIMDJSON_AMALGAMATED to SIMDJSON_CONDITIONAL_INCLUDE
2023-07-20 11:43:19 -07:00
John Keiser
bb54946b78
Disallow including headers from implementation files
2023-07-20 10:01:22 -07:00
John Keiser
e3cac71afe
Enforce that dependencies.h and generic/*.h include the same dependencies.
2023-07-17 16:07:42 -07:00
John Keiser
cbe562c1d5
Fix header define names for inline files
2023-07-17 13:55:07 -07:00