58 Commits

Author SHA1 Message Date
Dmitry Arkhipov
f144f382d8 document direct parsing 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
be759c5051 only throw system_error 2023-06-02 16:23:08 +03:00
Dmitry Arkhipov
b9e8b2edfe contextual conversions 2023-06-01 21:45:56 +03:00
Dmitry Arkhipov
33088c958a example of using string::grow 2023-04-02 21:24:19 +03:00
Dmitry Arkhipov
7cf7f107f6 mention RFC in overview and README 2023-03-27 13:00:59 +03:00
Dmitry Arkhipov
36552f0c94 remove namespace macros 2023-01-02 18:41:01 +03:00
Dmitry Arkhipov
a210032263 set_at_pointer 2023-01-02 13:22:28 +03:00
Dmitry Arkhipov
212c0f2fd3 rewrite conversion docs 2022-11-28 17:46:24 +03:00
Dmitry Arkhipov
9e3ac1e873 remove remnants of old conversion approach in docs 2022-07-26 13:52:40 +03:00
sehe
98d37f9370 Clarify invalidation rules for object
The reference/iterator invalidation rules can surprise people who expect
associative containers to be node-based, similar to `std::[unordered_]map`.

This calls it out more visibly to avoid surprises.
2022-05-14 20:18:42 +03:00
Dmitry Arkhipov
c901d28f82 JSON pointer implementation 2022-03-02 13:52:18 +03:00
Dmitry Arkhipov
d20a814685 Remove standalone 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
445efad9a9 Remove trailing whitespace 2021-06-26 16:17:57 +03:00
Krystian Stasiowski
2b074ee053 value_to/from don't use user-provided conversion functions 2020-10-27 14:03:52 -07:00
Krystian Stasiowski
99a013818a tag_invoke exposition
fix #411
2020-10-27 14:03:52 -07:00
Vinnie Falco
2032232f9e value::to_number replaces number_cast 2020-10-05 13:17:13 -07:00
Vinnie Falco
94d11a74e6 Refactor storage_ptr (API Change) 2020-10-04 19:07:58 -07:00
Vinnie Falco
531287af2b long double is not a fundamental type:
fix #432

Users have to opt-in to the narrowing conversion
by using static_cast.
2020-10-04 11:21:55 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
360b611612 Roll back value kind interface changes:
fix #339

* value::is_array, et. al. return bool
* value::if_array returns a pointer
* array::if_contains replaces contains
* object::if_contains replaces contains
* object::contains returns bool
2020-09-15 18:10:33 -07:00
Vinnie Falco
a7e45150c5 Doc work (serializing) 2020-09-13 16:30:54 -07:00
Vinnie Falco
1ff84e12d7 Doc work (parsing) 2020-09-13 15:46:08 -07:00
Vinnie Falco
a53116ce38 Doc work on allocators 2020-09-12 16:16:50 -07:00
Vinnie Falco
24e8e45690 parser release has a precondition 2020-09-08 17:47:04 -07:00
Vinnie Falco
25a4c80eef serialize returns std::string 2020-09-07 15:32:25 -07:00
Vinnie Falco
591e2dc5a5 serializer refactor (API Change):
fix #275

* serialize() replaces to_string()
* serialize.hpp replaces to_string.hpp
* serializer works on all types
* serialize, operator<< work on all types
* reset() takes pointer arguments
* resetting constructor removed
2020-09-07 10:36:26 -07:00
Vinnie Falco
adacd6670c Fix compile #3 2020-09-04 19:10:04 -07:00
Vinnie Falco
fa699a4995 Fix compile #2 2020-09-05 05:56:56 -07:00
Vinnie Falco
3007c5373b Fix compile 2020-09-04 16:41:24 -07:00
Vinnie Falco
8b11ca3586 Replace value::if_ with value::is_
close #249
2020-09-04 15:48:58 -07:00
Vinnie Falco
94e26abb66 standalone is an inline namespace
fix #181, close #244
2020-09-01 15:44:47 -07:00
Vinnie Falco
d9b5667bb2 Rename to is_deallocate_trivial and tidy docs
close #239
2020-09-01 07:55:02 -07:00
Vinnie Falco
8b757cf3b9 Tidy up value_builder 2020-08-27 18:58:04 -07:00
Vinnie Falco
2d98a58a68 Refactor is_deallocate_null (API Change) 2020-08-27 13:48:26 -07:00
Vinnie Falco
832d1fb517 Refactor parsing interfaces (API change) 2020-08-27 13:48:26 -07:00
Krystian Stasiowski
7e7155de59 parser members don't throw, and tidy:
* parser members do not throw
* parse free functions are in parse.hpp

fix #199. close #201
2020-08-24 16:30:48 -07:00
Krystian Stasiowski
fbe3101081 Doc work
fix #192, fix #194, close #188
2020-08-23 13:57:03 -07:00
Vinnie Falco
d2c7de6376 Add value_builder 2020-08-18 13:51:53 -07:00
Krystian Stasiowski
37fc3e1ac8 Value documentation fixes
fix #110, close #143
2020-08-12 09:36:52 -07:00
Krystian Stasiowski
bbe88df37c Doc work
close #139
2020-08-11 16:02:09 -07:00
Krystian Stasiowski
904252de0b Fix repo links
close #123
2020-07-03 11:51:58 -07:00
Krystian Stasiowski
6057a9f760 Eliminate warnings 2020-06-29 19:38:50 -04:00
Vinnie Falco
f47fbeb1a5 Refactor value conversions 2020-06-08 15:11:12 -07:00
Krystian Stasiowski
5a9b314c45 Refactor allocator docs 2020-05-19 14:20:03 -07:00
Vinnie Falco
a412606a72 Fix warnings 2020-05-19 12:46:04 -07:00
Krystian Stasiowski
ad1a3378b6 Init-list doc work 2020-04-15 10:50:56 -07:00
Vinnie Falco
a47b0f3fc1 storage_ptr uses memory_resource 2020-04-05 13:21:29 -07:00
Vinnie Falco
8e0356ef7a Refactor parser write 2020-04-04 13:15:40 -07:00
Krystian Stasiowski
66553d1baa Improve string exposition 2020-03-14 13:32:25 -07:00
Vinnie Falco
e8acc21a2f VS2015 is not supported 2019-12-19 11:09:44 -08:00