msgid ""
msgstr ""
"Project-Id-Version: English (Boost Json Translation (zh_Hans))\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-06 22:46+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: English <https://insights.cppalliance.org/weblate/projects/"
"boost-json-documentation-zh_Hans/doc-pages-conversion-direct-adoc/en/>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2026.5\n"

#: :10
#, read-only, safe-html, strict-same
msgid ""
"= Direct Conversion For large inputs parsing into the library's containers "
"followed by conversion via <<ref_value_to>> (or vice versa "
"<<ref_value_from>> followed by serialization from a <<ref_value>>) might be "
"prohibitively expensive. For these cases the library provides components "
"that allow parsing directly into and serializing directly from user-provided "
"objects."
msgstr ""
"= Direct Conversion For large inputs parsing into the library's containers "
"followed by conversion via <<ref_value_to>> (or vice versa "
"<<ref_value_from>> followed by serialization from a <<ref_value>>) might be "
"prohibitively expensive. For these cases the library provides components "
"that allow parsing directly into and serializing directly from user-provided "
"objects."

#: :17
#, read-only, safe-html, strict-same
msgid ""
"The drawback of this approach is that fully custom type representations are "
"not supported, only the library-provided conversions are. Also all objects "
"that should be populated by parsing have to be default constructible types. "
"This includes not only the top-level object, but e.g. elements of "
"containers, members of described `struct`s, and alternatives of variants."
msgstr ""
"The drawback of this approach is that fully custom type representations are "
"not supported, only the library-provided conversions are. Also all objects "
"that should be populated by parsing have to be default constructible types. "
"This includes not only the top-level object, but e.g. elements of "
"containers, members of described `struct`s, and alternatives of variants."

#: :23
#, read-only, safe-html, strict-same
msgid ""
"That being said, if your types are default-constructible and you don't need "
"the customisability allowed by <<ref_value_to>> and <<ref_value_from>>, then "
"you can get a significant performance boost with direct conversions."
msgstr ""
"That being said, if your types are default-constructible and you don't need "
"the customisability allowed by <<ref_value_to>> and <<ref_value_from>>, then "
"you can get a significant performance boost with direct conversions."

#: :27
#, read-only, safe-html, strict-same
msgid ""
"Direct parsing is performed by the <<ref_parse_into>> family of functions. "
"The library provides overloads that take either <<ref_string_view>> or "
"`std::istream`, and can report errors either via throwing exceptions or "
"setting an error code."
msgstr ""
"Direct parsing is performed by the <<ref_parse_into>> family of functions. "
"The library provides overloads that take either <<ref_string_view>> or "
"`std::istream`, and can report errors either via throwing exceptions or "
"setting an error code."

#: :37
#, read-only, safe-html, strict-same
msgid ""
"If you need to combine incremental parsing with direct parsing, you can "
"resort to <<ref_parser_for>>. `parser_for<T>` is an instantiation of "
"<<ref_basic_parser>> that parses into an object of type `T`, and is what "
"<<ref_parse_into>> uses under the hood."
msgstr ""
"If you need to combine incremental parsing with direct parsing, you can "
"resort to <<ref_parser_for>>. `parser_for<T>` is an instantiation of "
"<<ref_basic_parser>> that parses into an object of type `T`, and is what "
"<<ref_parse_into>> uses under the hood."

#: :42
#, read-only, safe-html, strict-same
msgid ""
"Direct serialization doesn't require any special components and works with "
"the regular <<ref_serializer>> and <<ref_serialize>>."
msgstr ""
"Direct serialization doesn't require any special components and works with "
"the regular <<ref_serializer>> and <<ref_serialize>>."
