Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalAndDeleteEmpty ¶
MarshalAndDeleteEmpty marshals a JSON object, then uses gjson to delete empty objects at the given gjson paths.
This can be used as a convenient way to create a marshaler that omits empty non-pointer structs. See mautrix.RespSync for example.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.