You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We heavily use non-zero-terminated std::string_view's through our code, but we are not able to serialize them.
Support for std::string_view was mentioned in #704 as something of interest for this lib, but it seems the discussion ended with the stream solution. It's not clear to me how to use it, I will understand it better, but it seems official support for std::string_view still would be very useful.
Are there plans for direct support?
So I'm opening this issue as a request for std::string_view support in JsonDocument's operator[].
The text was updated successfully, but these errors were encountered:
PR #1554 should already provide partial support for std::string_view, including operator[].
I plan on adding the complete support for std::string_view soon, possibly in v6.18.1.
We heavily use non-zero-terminated std::string_view's through our code, but we are not able to serialize them.
Support for std::string_view was mentioned in #704 as something of interest for this lib, but it seems the discussion ended with the stream solution. It's not clear to me how to use it, I will understand it better, but it seems official support for std::string_view still would be very useful.
Are there plans for direct support?
So I'm opening this issue as a request for
std::string_view
support inJsonDocument
'soperator[]
.The text was updated successfully, but these errors were encountered: