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
Error: Not equal:
expected: "{\"F1\":{\"F2\":\"\"}}"
actual : "{}"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-{"F1":{"F2":""}}
+{}
Test: TestMarshalStructFieldWithOmitemptyTag
The text was updated successfully, but these errors were encountered:
liuq19
changed the title
not idempotent when marshalling nested slice filed with "omitempty" tag
not consistent with encoding/json when marshalling struct field with "omitempty" tag
Oct 11, 2021
code
output
The text was updated successfully, but these errors were encountered: