encoding/json: marshal does not obey omitempty for empty structures #9585
Given this code
you will see that I have not specified in the raw JSON data any data for the validTimePosition, however, when you run the marshal process it shows up, as illustrated below. I would expect that it would not show up at all, if it is empty.
The text was updated successfully, but these errors were encountered: