[#boost-urls-parse_query] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::parse_query :relfileprefix: ../../ :mrdocs: Parse a string and return an encoded params view == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/parse_query.hpp#L47[boost/url/parse_query.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- system::result<xref:boost/urls/params_encoded_view.adoc[params_encoded_view]> parse_query(core::string_view s) noexcept; ---- == Description This function parses the string and returns the corresponding params object if the string is valid, otherwise returns an error. === BNF [,cpp] ---- query = *( pchar / "/" / "?" ) ---- === Exception Safety No‐throw guarantee. === Specification == Return Value A valid view on success, otherwise an error code. == Parameters |=== | Name | Description | *s* | The string to parse |=== == See Also xref:boost/urls/params_encoded_view.adoc[params_encoded_view]. [.small]#Created with https://www.mrdocs.com[MrDocs]#