proposal: encoding/json: add ...
json tag to spread
#52138
Labels
Milestone
...
json tag to spread
#52138
I added new json tag.
This can be instead of embedded generics.
As you know, we cannot embed generics to struct.
this is invalid
I want use embed in json, so I added new json tag to spread struct in its parent.
ex)
If you encode it in json. It'll be like this.
My PR.
The text was updated successfully, but these errors were encountered: