Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/json
/ functions
Functions
1,628 in github.com/boostorg/json
⨍
Functions
1,628
◇
Types & classes
595
↓ 404 callers
Method
size
test/parse-vectors.hpp:42
↓ 332 callers
Function
check
test/value_from.cpp:295
↓ 297 callers
Method
data
Return the underlying character array directly. Returns a pointer to the underlying array serving as storage. The value returned is s
include/boost/json/string.hpp:727
↓ 253 callers
Function
fail_loop
test/test.hpp:93
↓ 203 callers
Method
begin
test/doc_types.hpp:79
↓ 193 callers
Method
begin
Return an iterator to the beginning. If the container is empty, @ref end() is returned. @par Complexity Constant. @
include/boost/json/string.hpp:810
↓ 133 callers
Method
end
test/doc_types.hpp:86
↓ 132 callers
Function
d2s_test_helper
test/ryu/d2s_test.cpp:46
↓ 130 callers
Method
empty
Check if the string has no characters. Returns `true` if there are no characters in the string, i.e. @ref size() returns 0.
include/boost/json/string.hpp:987
↓ 110 callers
Method
append
append an unescaped string
include/boost/json/detail/buffer.hpp:85
↓ 110 callers
Method
insert
test/test_suite.hpp:519
↓ 98 callers
Method
capacity
Return the number of characters that can be held in currently allocated memory. Returns the number of characters that the container has curre
include/boost/json/string.hpp:1036
↓ 86 callers
Method
write
test/test.hpp:198
↓ 75 callers
Function
serialize
include/boost/json/impl/serialize.hpp:26
↓ 65 callers
Function
check_storage
test/test.hpp:812
↓ 65 callers
Function
value_from
include/boost/json/value_from.hpp:86
↓ 59 callers
Method
is_string
Check if this is a @ref string. Returns `true` if the value's @ref kind() is `kind::string`. @returns `this->kind() == kind::string`
include/boost/json/value.hpp:1223
↓ 58 callers
Method
get
include/boost/json/detail/buffer.hpp:36
↓ 58 callers
Method
key
The pair's key. After construction, the key may not be modified. @par Complexity Constant. @par Exception Safety
include/boost/json/value.hpp:3549
↓ 56 callers
Method
is_null
Check if this is a null value. Returns `true` if the value's @ref kind() is `kind::null`. @returns `this->kind() == kind::null`.
include/boost/json/value.hpp:1313
↓ 54 callers
Method
is_bool
Check if this is a `bool`. Returns `true` if the value's @ref kind() is `kind::bool_`. @returns `this->kind() == kind::bool_`.
include/boost/json/value.hpp:1295
↓ 54 callers
Function
make_input_iterator
test/test.hpp:739
↓ 54 callers
Method
resize
Change the size of the string. Resizes the string to contain `count` characters. If `count > `@ref size(), **(2)** appends copies of
include/boost/json/string.hpp:1660
↓ 52 callers
Method
value
include/boost/json/value.hpp:74
↓ 48 callers
Method
reserve
Increase the capacity to at least a certain amount. This increases the capacity of the array to a value that is greater than or equal
include/boost/json/string.hpp:1064
↓ 47 callers
Method
size
example/file.hpp:108
↓ 46 callers
Method
is_array
Check if this is an @ref array. Returns `true` if the value's @ref kind() is `kind::array`. @returns `this->kind() == kind::array`.
include/boost/json/value.hpp:1187
↓ 46 callers
Method
is_number
Check if this is a number. This function returns `true` when @ref kind() is one of `kind::int64`, `kind::uint64`, or `kind::double_`.
include/boost/json/value.hpp:1370
↓ 45 callers
Method
emplace
example/parse_into.cpp:58
↓ 40 callers
Method
is_int64
Check if this is a `std::int64_t`. Returns `true` if the value's @ref kind() is `kind::int64`. @returns `this->kind() == kind::int64
include/boost/json/value.hpp:1241
↓ 40 callers
Method
is_object
Check if this is an @ref object. Returns `true` if the value's @ref kind() is `kind::object`. @returns `this->kind() == kind::object
include/boost/json/value.hpp:1205
↓ 39 callers
Method
write_some
test/test.hpp:420
↓ 38 callers
Method
len
include/boost/json/detail/charconv/detail/fast_float/bigint.hpp:82
↓ 38 callers
Method
push_back
example/parse_into.cpp:105
↓ 37 callers
Method
c_str
Return the underlying character array directly. Returns a pointer to the underlying array serving as storage. The value returned is s
include/boost/json/string.hpp:752
↓ 37 callers
Method
pop
include/boost/json/detail/stack.hpp:96
↓ 36 callers
Method
release
include/boost/json/storage_ptr.hpp:104
↓ 36 callers
Method
size
Return the number of characters in the string. The value returned does not include the null terminator, which is always present.
include/boost/json/string.hpp:1001
↓ 35 callers
Method
reset
test/test.hpp:192
↓ 33 callers
Method
is_uint64
Checks if this is a `std::uint64_t`. Returns `true` if the value's @ref kind() is `kind::uint64`. @returns `this->kind() == kind::ui
include/boost/json/value.hpp:1259
↓ 33 callers
Method
used
include/boost/json/detail/stream.hpp:255
↓ 32 callers
Method
is_double
Check if this is a `double`. Returns `true` if the value's @ref kind() is `kind::double_`. @returns `this->kind() == kind::double_`.
include/boost/json/value.hpp:1277
↓ 30 callers
Method
clear
example/parse_into.cpp:69
↓ 30 callers
Function
is_valid_utf8
include/boost/json/detail/utf8.hpp:69
↓ 29 callers
Method
subview
Return a view. @li **(1)** equivalent to `subview().substr(pos, count)`. @li **(2)** equivalent to `string_view(data(), size())`.
include/boost/json/string.hpp:1602
↓ 28 callers
Method
data
include/boost/json/detail/buffer.hpp:47
↓ 28 callers
Method
read
example/file.hpp:120
↓ 27 callers
Function
expect_hash_not_equal
test/test.hpp:1074
↓ 27 callers
Method
if_string
Return a pointer to the underlying @ref string. If `this->kind() == kind::string`, returns a pointer to the underlying object. Otherw
include/boost/json/value.hpp:1479
↓ 27 callers
Method
size
include/boost/json/detail/buffer.hpp:53
↓ 26 callers
Function
parse_into
include/boost/json/impl/parse_into.hpp:22
↓ 26 callers
Method
signal_value
include/boost/json/detail/parse_into.hpp:1858
↓ 25 callers
Method
end
Return an iterator to the end. The returned iterator only acts as a sentinel. Dereferencing it results in undefined behavior.
include/boost/json/string.hpp:852
↓ 24 callers
Method
find
Find the first occurrence of characters within the string. Search from `pos` onward for the first substring that is equal to the firs
include/boost/json/string.hpp:1788
↓ 24 callers
Method
finish
bench/bench.cpp:561
↓ 24 callers
Method
write
test/basic_parser.cpp:1218
↓ 23 callers
Method
if_object
Return a pointer to the underlying @ref object. If `this->kind() == kind::object`, returns a pointer to the underlying object. Otherw
include/boost/json/value.hpp:1441
↓ 22 callers
Method
if_array
Return a pointer to the underlying @ref array. If `this->kind() == kind::array`, returns a pointer to the underlying array. Otherwise
include/boost/json/value.hpp:1403
↓ 22 callers
Method
reset
bench/bench.cpp:532
↓ 21 callers
Method
done
test/test.hpp:414
↓ 21 callers
Function
pilfer
include/boost/json/pilfer.hpp:174
↓ 20 callers
Function
BOOST_IF_CONSTEXPR
include/boost/json/basic_parser_impl.hpp:2726
↓ 20 callers
Method
push
include/boost/json/detail/stack.hpp:79
↓ 19 callers
Method
if_int64
Return a pointer to the underlying `std::int64_t`. If `this->kind() == kind::int64`, returns a pointer to the underlying integer. Oth
include/boost/json/value.hpp:1517
↓ 19 callers
Method
kind
Returns the kind of this JSON value. This function returns the discriminating enumeration constant of type @ref json::kind correspond
include/boost/json/value.hpp:1167
↓ 18 callers
Function
check_array
test/test.hpp:1127
↓ 18 callers
Method
if_bool
Return a pointer to the underlying `bool` . If `this->kind() == kind::bool_`, returns a pointer to the underlying boolean. Otherwise,
include/boost/json/value.hpp:1631
↓ 18 callers
Method
if_double
Return a pointer to the underlying `double`. If `this->kind() == kind::double_`, returns a pointer to the underlying double. Otherwis
include/boost/json/value.hpp:1593
↓ 17 callers
Method
if_uint64
Return a pointer to the underlying `std::uint64_t`. If `this->kind() == kind::uint64`, returns a pointer to the underlying unsigned i
include/boost/json/value.hpp:1555
↓ 17 callers
Function
mod1e9
include/boost/json/detail/ryu/detail/d2s_intrinsics.hpp:154
↓ 16 callers
Function
hex_digit
include/boost/json/basic_parser_impl.hpp:177
↓ 16 callers
Method
rbegin
Return a reverse iterator to the first character of the reversed container. Returns the pointed-to character that corresponds to the last cha
include/boost/json/string.hpp:893
↓ 16 callers
Method
rend
Return a reverse iterator to the character following the last character of the reversed container. The pointed-to element corresponds to the
include/boost/json/string.hpp:938
↓ 16 callers
Function
size
test/value_from.cpp:119
↓ 15 callers
Method
empty
include/boost/json/detail/stack.hpp:61
↓ 15 callers
Function
get
include/boost/json/value.hpp:3654
↓ 14 callers
Method
append_utf8
append valid 32-bit code point as utf8
include/boost/json/detail/buffer.hpp:96
↓ 14 callers
Function
check_hash_equal
test/test.hpp:1059
↓ 14 callers
Method
clear
include/boost/json/detail/buffer.hpp:71
↓ 14 callers
Method
compare
Compare a string with the string. Let `comp` be `std::char_traits<char>::compare(data(), sv.data(), std::min(size(), sv.size())`. If
include/boost/json/string.hpp:1399
↓ 14 callers
Method
max_size
Return the maximum number of characters any string can hold. The maximum is an implementation-defined number. This value is a theoret
include/boost/json/string.hpp:1016
↓ 13 callers
Method
end
include/boost/json/detail/string_impl.hpp:350
↓ 13 callers
Function
ensure
example/cbor.cpp:161
↓ 13 callers
Method
get_double
include/boost/json/value.hpp:2583
↓ 13 callers
Function
parse_value
tag::doc_storage_ptr_4[]
test/doc_storage_ptr.cpp:66
↓ 12 callers
Function
classify_utf8
include/boost/json/detail/utf8.hpp:34
↓ 12 callers
Function
count_whitespace
include/boost/json/detail/sse2.hpp:421
↓ 12 callers
Method
ends_with
Check if the string ends with given suffix. @li **(1)** returns `true` if the string ends with `s`. @li **(2)** returns `true` if the
include/boost/json/string.hpp:1453
↓ 12 callers
Function
f
tag::doc_quick_look_7[]
test/doc_quick_look.cpp:109
↓ 12 callers
Method
on_number_part
include/boost/json/detail/parse_into.hpp:1928
↓ 12 callers
Method
push_unchecked
append item to vector, without bounds checking
include/boost/json/detail/charconv/detail/fast_float/bigint.hpp:92
↓ 12 callers
Method
starts_with
Return whether the string begins with another string. @li **(1)** checks if the string begins with `s`. @li **(2)** checks if the str
include/boost/json/string.hpp:1420
↓ 12 callers
Function
to_string_view
include/boost/json/detail/string_impl.hpp:364
↓ 12 callers
Method
what
test/test.hpp:34
↓ 11 callers
Function
equal
test/test.hpp:973
↓ 11 callers
Method
remain
include/boost/json/detail/stream.hpp:262
↓ 11 callers
Function
tag_invoke
include/boost/json/detail/value_to.hpp:841
↓ 10 callers
Method
begin
include/boost/json/detail/stream.hpp:161
↓ 10 callers
Function
umul64
include/boost/json/detail/charconv/detail/emulated128.hpp:59
↓ 9 callers
Method
emplace_null
Replace with a null value. The current value is destroyed and the kind is changed to kind::null. The associated memeory resource is k
include/boost/json/value.hpp:951
next →
1–100 of 1,628, ranked by callers