-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add json_view type support to avoid excessive copying #1954
Comments
I kinda like the idea (usual reservations wrt. dangling references footguns aside) , but not the name. If I see |
Basically view should looks like immutable json object and could have any underlying storage. It could be json or some raw string or primitive type, etc. Don't see contradiction here |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Feature name and mission inspired by std::string_view. json_view is immutable json object which refers inside to another outer json object and do not keep data. json will have
Motivation example:
The text was updated successfully, but these errors were encountered: