Skip to content

Commit 950456e

Browse files
committed
Update partial_read documentation
1 parent 7255e79 commit 950456e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ struct opts {
818818
// allowed in binary, e.g. double -> float
819819

820820
bool partial_read =
821-
false; // Reads into only existing fields and elements and then exits without parsing the rest of the input
821+
false; // Reads into the deepest structural object and then exits without parsing the rest of the input
822822

823823
// glaze_object_t concepts
824824
bool concatenate = true; // Concatenates ranges of std::pair into single objects when writing

include/glaze/core/opts.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace glz
9090
// allowed in binary, e.g. double -> float
9191

9292
bool_t partial_read =
93-
false; // Reads into only existing fields and elements and then exits without parsing the rest of the input
93+
false; // Reads into the deepest structural object and then exits without parsing the rest of the input
9494

9595
// glaze_object_t concepts
9696
bool_t concatenate = true; // Concatenates ranges of std::pair into single objects when writing

0 commit comments

Comments
 (0)