-
Notifications
You must be signed in to change notification settings - Fork 134
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
Provide a GetString to get string type instead of byte slice #53
Labels
enhancement
New feature or request
Comments
goodspark
pushed a commit
to goodspark/fastjson
that referenced
this issue
Mar 2, 2020
Resolves valyala#53 Convenience function so users don't have to do: ```go s := string(v.GetStringBytes("key", "a", "b")) ```
This won't work, since |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could we get a function to just return the
string
type instead of a byte slice?I often just need the
string
and noticedGetStringByte
is actually converting the underlying string to a byte.The text was updated successfully, but these errors were encountered: