MCPcopy Create free account
hub / github.com/boostorg/json / parse_into

Function parse_into

include/boost/json/impl/parse_into.hpp:22–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21template<class V>
22void
23parse_into(
24 V& v,
25 string_view sv,
26 system::error_code& ec,
27 parse_options const& opt )
28{
29 parser_for<V> p( opt, &v );
30
31 std::size_t n = p.write_some( false, sv.data(), sv.size(), ec );
32
33 if( !ec && n < sv.size() )
34 {
35 BOOST_JSON_FAIL( ec, error::extra_data );
36 }
37}
38
39template<class V>
40void

Callers 12

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
usingParseIntoFunction · 0.85
testParseIntoValueMethod · 0.85
testFloatingPointMethod · 0.85
testStringMethod · 0.85
testSequenceMethod · 0.85
testMapMethod · 0.85
runMethod · 0.85
operator()Method · 0.85
fuzz_direct_parseFunction · 0.85

Calls 5

eofMethod · 0.80
write_someMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected