MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / write_bool_value

Function write_bool_value

include/jsoncons_ext/csv/csv_encoder.hpp:1396–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1394 }
1395
1396 void write_bool_value(bool val, string_type& str)
1397 {
1398 if (val)
1399 {
1400 str.append(true_literal().data(), true_literal().size());
1401 }
1402 else
1403 {
1404 str.append(false_literal().data(), false_literal().size());
1405 }
1406 }
1407
1408 void write_null_value(string_type& str)
1409 {

Callers 1

visit_boolFunction · 0.85

Calls 3

appendMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected