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
json.RawMessage currently gets encoded as byte list when using as value.
An example is provided below, where the content of a field with type json.RawMessage is used. The expected output would be correct JSON as with []byte.
Describe the bug
json.RawMessage
currently gets encoded as byte list when using as value.An example is provided below, where the content of a field with type
json.RawMessage
is used. The expected output would be correct JSON as with[]byte
.To Reproduce
Output:
Expected behavior
Both values should be correct JSON as with
[]byte
.Dialect:
The text was updated successfully, but these errors were encountered: