-
Notifications
You must be signed in to change notification settings - Fork 63
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
stringify
takes ownership instead of a reference
#87
Comments
Actually I'm partially dumb, there are |
On a tangential note |
Ok, I'm fully dumb and apparently also blind, there is Sorry for the stream of notifications. |
This is a separate issue (:+1: by the way) so I filed #88 to follow up. |
I filed #89 for pretty print to writer. |
I'll close this because since there are |
Until these are fixed, if you are stuck there is always |
Is there a reason it takes the
JsonValue
by value instead of by reference?I have a
Cache
that contains aJsonValue
which is updated in place, and every once in a while it saves it to disk as JSON, so currently I have to clone the object which sounds like an artificial requirement.Other than the obvious loss of the nice
json::stringify(2)
and friends, I think it would be a win performance wise (at least for my case 🐼)The text was updated successfully, but these errors were encountered: