Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearDeprecatedFields ¶
func StripDeprecatedJSONFields ¶
StripDeprecatedJSONFields removes deprecated fields from a marshaled-protojson byte slice by walking the descriptor of msg in parallel with the parsed JSON. A field is considered deprecated if its proto name ends with "_deprecated" or its [deprecated = true] option is set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.