Daniel Lemire
46292b8d4b
Update basics.md
2022-10-05 08:50:52 -04:00
Daniel Lemire
137cb14bcc
Documenting how one can check for the end of the document. ( #1907 )
2022-10-04 20:23:52 -04:00
Tyson Andre
d27e7cce71
Fix typos in doc/basics.md ( #1893 )
2022-09-30 08:34:37 -04:00
Daniel Lemire
6a4222da71
Adding a remark to the documentation.
2022-09-19 15:28:33 -04:00
Daniel Lemire
bba88eb5e5
Fixing typo in the documentation.
2022-09-19 10:21:11 -04:00
Daniel Lemire
db3e813aa6
Verifying and fixing issue 1876 ( #1877 )
...
* Verifying and fixing issue 1876
* Typo
2022-07-28 21:45:54 -04:00
Daniel Lemire
5dbe96da96
We change slightly on development checks are enabled. ( #1869 )
...
* We change slightly on development checks are enabled.
* Removing garbagy code.
2022-07-19 16:40:02 -04:00
Daniel Lemire
bd3d67e889
Documenting a specific use case where you need a value if and only if it is another key is not present ( #1865 )
...
* Documenting a specific use case.
* Adding more comments and documentation.
2022-07-09 10:54:28 -04:00
Daniel Lemire
1a195623a5
Improve string performance in ondemand by making the string processing runtime dispatched. ( #1849 )
...
* This should improve string performance in ondemand by making the string processing runtime dispatched.
2022-06-24 09:57:16 -04:00
Daniel Lemire
49c7654a70
We will be enabling AVX-512 under Visual Studio 2019 by default. ( #1833 )
2022-06-02 13:56:20 -04:00
Daniel Lemire
730939f01c
Better documentation regarding the direct get_number_type() method. ( #1821 )
2022-05-13 15:31:09 -04:00
Andrea Pappacoda
1aa1d537fe
docs(basics): ondemand::element -> ::document ( #1810 )
...
simdjson::ondemand::element doesn't exist
2022-05-05 14:55:22 -04:00
Richard Ebeling
c122462278
[skip ci] Fix accidental pastes in doc/basics.md ( #1809 )
...
Co-authored-by: Richard Ebeling <He3lixxx@users.noreply.github.com >
2022-05-02 08:13:55 -04:00
Dirk Stolle
f72636b5b0
fix a typo in documentation ( #1807 )
2022-04-26 18:01:12 -04:00
Daniel Lemire
e4ddc5446b
Fixing typo.
2022-04-10 08:16:46 -04:00
Daniel Lemire
b4b1927b0f
Making the documentation more explicit. ( #1765 )
2021-12-21 09:51:20 -05:00
epoll-reactor
76bed68ec3
Fix broken link in basics documentation. ( #1760 )
2021-12-04 12:21:08 -05:00
Daniel Lemire
2763f7e719
Fixing issue 1755 ( #1756 )
2021-11-24 09:28:28 -05:00
Tyler Kennedy
b41bece32c
Fix a couple of broken links in the basics.md TOC ( #1752 )
2021-11-07 19:58:32 -05:00
Daniel Lemire
1dec7b04fe
Remark.
2021-11-05 13:32:45 -04:00
Daniel Lemire
1b01969bda
Adding tests for issue 1745. ( #1746 )
...
* Adding tests for issue 1745.
* Tweaking the documentation so that it is clearer.
2021-11-03 10:12:18 -04:00
Daniel Lemire
9e477ddb00
Let us try to improve the documentation so that it is clearer. ( #1733 )
...
* Let us try to improve the documentation so that it is clearer.
* Minor tweaks.
2021-10-19 13:09:41 -04:00
Daniel Lemire
91908ade4d
Additional documentation following issue 1723 ( #1724 )
...
* Some extra documentation regarding issue 1723.
* Adding comments.
* Minor fix.
* [no ci] more documentation
2021-10-09 11:41:20 -04:00
Daniel Lemire
af4ff7cc33
Adding fast "get_number_type()" function, bypassing "get_number()" ( #1713 )
...
* Adding fast "get_number_type" function, bypassing "get_number"
* Minor tweak.
* Adding missing get_number_type().
2021-09-07 14:34:40 -04:00
Nicolas Boyer
c9179ad81d
Add count_fields method for objects ( #1712 )
...
* Implement count_elements for object
* Add count_elements() for simdjson_result
* Add count_elements for documents(arrays,objects).
* Add tests for objects.
* Add tests for documents array. Typos.
* Renaming to count_fields() for objects.
* Update doc.
* Apply patch
2021-09-02 16:18:48 -04:00
Daniel Lemire
cebe3fb299
Tweaking current_location(). ( #1707 )
...
* Tweaking current_location().
* Well.
2021-08-28 20:19:30 -04:00
Nicolas Boyer
ed7343f7f2
Provide current location in JSON input ( #1695 )
...
* Setup.
* Add current_location().
* Make return simdjson_result and fix cast issues.
* Whitespace.
* Add broken JSON tests. Add null parser check.
* Remove unused variables.
* Alive fix.
* Fix merge issues.
* Simplification for out of bounds.
* More tests.
* Move pointer back for unrecoverable errors.
* Add new error OUT_OF_BOUNDS
* Remove unnecessary include and fix OUT_OF_BOUNDS.
* Add more tests. Fix unrecoverable errors.
* Fix tests.
* Modify one test.
* Update doc.
* Typos.
* Add read_me tests.
* Update doc.
* Add current_location for simdjson_result and document_reference
* Typos.
Co-authored-by: Daniel Lemire <lemire@gmail.com >
2021-08-27 13:41:59 -04:00
Daniel Lemire
b935ce2e06
Allowing casts instead of get_double, get_uint64 and get_int64 ( #1705 )
2021-08-27 10:25:17 -04:00
Daniel Lemire
4afe7565b4
ondemand dynamically-typed numbers ( #1704 )
...
* Building up a number type.
* Implemented is_integer and is_negative.
* Implemented get_number in value_iterator.
* Final prototype.
* [no ci] typo
2021-08-26 12:16:44 -04:00
Daniel Lemire
eac3832ec0
[no ci] removing space
2021-08-17 08:35:21 -04:00
Daniel Lemire
db19c7675f
[no ci] tweaking documentation
2021-08-15 10:32:11 -04: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
de4deb8c4e
Makes it possible to cast a document to a value. ( #1690 )
...
* Makes it possible to cast a document to a value.
2021-08-11 20:02:30 -04:00
Daniel Lemire
a552638373
removing trailing spaces
2021-08-10 15:12:05 -04:00
Daniel Lemire
e30123d58f
[no ci]
2021-08-10 15:02:51 -04:00
Daniel Lemire
717d0c24a6
[no ci] tuning documentation
2021-08-09 12:09:40 -04:00
Daniel Lemire
19902abaf8
Guarding first/second access. ( #1688 )
...
* Guarding first/second access.
* Correcting our own usage.
* Adding more documentation.
2021-08-06 20:25:05 -04:00
Daniel Lemire
06643fc9f5
Additional tests and document tuning ( #1684 )
...
* Additional example.
* Adds more tests.
* Actually using the variable.
2021-08-02 16:35:02 -04:00
Daniel Lemire
cc98358453
Adding error handing examples to the documentation ( #1679 )
...
* Adding error handing examples.
* Guarding the exception-throwing test.
2021-07-31 14:31:48 -04:00
Daniel Lemire
bd0f5e9322
[no ci] details
2021-07-30 18:20:37 -04:00
Daniel Lemire
cb0e4b23c7
[no ci] clearing headings
2021-07-30 18:12:06 -04:00
Daniel Lemire
d83e69d977
Fix an issue with truncated-byte function. ( #1674 )
2021-07-30 13:12:42 -04:00
Daniel Lemire
f657516a7e
Pruning some white spaces.
2021-07-27 13:16:18 -04:00
Daniel Lemire
eeac91579c
[no ci] additional examples
2021-07-27 11:08:24 -04:00
Daniel Lemire
e5a4b8b81b
[no ci] minor indentation issue
2021-07-27 11:05:15 -04:00
Daniel Lemire
7b8f775893
Update basics.md
2021-07-27 11:04:01 -04:00
Daniel Lemire
eb93b98d6a
verify and fix issue 1668 ( #1673 )
...
* Adding test.
* Verifies and fix issue 1668. This commit updates the previous behavior of the
On Demand stream support by return a value type (document_reference) instead
of a reference to a document. This allows us to bridge with the usually simdjson
error system, with its simdjson_result types.
* Minor reformat.
* Adds a test with initial tests passing.
* Adding an example.
2021-07-27 08:51:07 -04:00
Nicolas Boyer
7d887fdc1e
Parse numbers inside strings ( #1667 )
...
* Update basic.md to document JSON pointer for On Demand.
* Add automatic rewind for at_pointer
* Remove DOM examples in basics.md and update documentation reflecting addition of at_pointer automatic rewinding.
* Review
* Add test
* Naive implementation for doubles in string.
* Add double from string in atom doc.
* Simplification (removed all *_from_string())
* Add int and uint parsing in string.
* Make duplicates instead.
* Make tests exceptionless.
* Add missing declarations.
* Add more tests (errors, JSON pointer).
* Add crypto json tests.
* Update doc.
* Update doc after review.
Co-authored-by: Daniel Lemire <lemire@gmail.com >
2021-07-27 08:50:44 -04:00
Daniel Lemire
9d405a5df4
[skip ci] made requirements more precise
2021-07-26 08:47:21 -04:00
Daniel Lemire
b79261eebc
This cleans a bit the current code, especially with respect to EOF guards. ( #1669 )
...
* Upgrading the GitHub Actions.
* Upgrading appveyor
* Upgrading circle ci.
* Cleaning.
2021-07-25 10:36:22 -04:00