Joseph Olabisi
3c9cde5ec1
restore quickstart.cpp
2025-05-06 01:47:28 +01:00
Joseph Olabisi
651c982d26
cleanup
2025-05-06 01:45:05 +01:00
Joseph Olabisi
3634cdbf94
restore examples/quickstart/CMakeLists.txt
2025-05-06 01:39:34 +01:00
Joseph Olabisi
5981ca18e4
add some initial tests
2025-05-03 18:24:56 +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
a71655120a
nit
2025-04-24 20:54:42 +01:00
Joseph Olabisi
f380604de5
minor improvements
2025-04-18 21:05:35 +01:00
Joseph Olabisi
68bef810aa
fix benchmark
2025-04-11 20:22:49 +01:00
Joseph Olabisi
e328bad696
add benchmark
2025-04-11 10:11:42 +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
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
005133c555
wip - bruteforce surface wildcard with result
2025-03-18 02:20:30 +00:00
Joseph Olabisi
78025fdd64
wip brute-force wildcard for json_path
2025-03-11 21:16:26 +00:00
Daniel Lemire
a05a56856d
fix: use On-Demand throughout. ( #2222 )
2024-07-29 15:54:21 -04:00
strager
d036fdf919
Reduce #include bloat (<iostream>) ( #1697 )
...
Including <iostream> has two problems:
* Compile times are worse because of over-inclusion
* Binary sizes are worse when statically linking libstdc++ because
iostreams cannot be dead-code-stripped
simdjson only needs std::ostream. Include the header declaring only what
we need (<ostream>), omitting stuff we don't need (std::cout and its
initialization, for example).
This commit should not change behavior, but it might break users who
assume that including <simdjson/simdjson.h> will make std::cout
available (such as many of simdjson's own files).
2021-08-13 11:24:36 -04:00
John Keiser
55faf4c5bc
Recommend simdjson::ondemand over simdjson::builtin::ondemand ( #1380 )
...
Co-authored-by: Daniel Lemire <lemire@gmail.com >
2021-01-14 17:33:49 -05:00
John Keiser
17f4f82827
Ondemand usage docs (and associated tests)
...
Also disallowed parsing a temporary padded_string, since the JSON *must*
live through the whole parse.
2021-01-01 19:17:58 -08:00
John Keiser
7387e9f9a8
Add quick start for On Demand
2021-01-01 14:50:47 -08:00
John Keiser
041d59cc17
Create acceptance_tests, all_tests, etc. make targets
...
And use them for mingw build and test
2020-12-23 09:14:45 -08:00
Daniel Lemire
3fa40b8dc2
Adding an example corresponding to issue 1316 (documentation enhancement) ( #1317 )
...
* Adding an example.
* Updated other doc file.
* Trying to take into account @jkeiser's comments.
* Some people prefer empty final lines.
2020-11-27 17:40:29 -05:00
John Keiser
a7fc7d4ffb
Switch from get(v,e) to e = get(v)
2020-06-20 17:57:09 -07:00
Daniel Lemire
502fee1b45
Fixes the way conditions are checked on variables so it is correct. ( #780 )
2020-04-23 16:01:40 -04:00
Daniel Lemire
185274e70f
Let us see if we can test with libc++. ( #732 )
...
* Let us see if we can test with libc++.
* Fixed spacing.
2020-04-22 21:24:42 -04:00
John Keiser
e5e6a46c37
Consolidate multi-implementation tests
...
Uses SIMDJSON_FORCE_IMPLEMENTATION to switch the implementation at test
time.
2020-04-19 09:59:49 -07:00
John Keiser
ff09b6c824
Run fewer redundant steps and configs in CI
2020-04-17 12:23:05 -07:00
John Keiser
fd418f568c
Fix c++11 warnings on clang
...
- namespace x::y is C++17
- static_assert requires message in C++11
2020-04-15 17:27:48 -07:00
John Keiser
09cf18a646
Add C++11 tests to cmake
...
- Add simdjson-flags target so callers don't have flags forced on them
2020-04-15 17:26:25 -07:00
Daniel Lemire
6d7c77ddc1
Let us try to check with the exceptions disabled. ( #707 )
...
* Tweaking code so that we can run all tests with exceptions off.
* Removing SIMDJSON_DISABLE_EXCEPTIONS
2020-04-15 16:45:36 -04:00
John Keiser
1ff22c78b3
Add quickstart to cmake
2020-04-09 14:56:54 -07:00
John Keiser
1e30b6e334
Compile under C++ 11
2020-04-08 14:00:13 -07:00
John Keiser
406240bae3
Support C++ 14
2020-04-08 14:00:13 -07:00
John Keiser
835b640ebd
Run quickstart example in CI
2020-03-29 15:45:12 -07:00