We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
qri version
0.2.1
The Default is not marshaled properly. instead of the actual default value, it always yields {}
{}
This is because the Default struct contains a private data which will never get marshalled without a custom MarshalJSON func.
Default
data
MarshalJSON
The actual value to be jsonized.
Yes, creating a PR now.
The text was updated successfully, but these errors were encountered:
add MarshalJSON for default
18cbf9a
Closes qri-io#108
2700f78
Successfully merging a pull request may close this issue.
Environment
What version of qri are you using (
qri version
)?0.2.1
Issue
What happened?
The Default is not marshaled properly.
instead of the actual default value, it always yields
{}
This is because the
Default
struct contains a privatedata
which will never get marshalled without a customMarshalJSON
func.What did you expect to happen?
The actual value to be jsonized.
Please link any related issues.
Do you have a suggested fix?
Yes, creating a PR now.
The text was updated successfully, but these errors were encountered: