Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Bug: Incompatibility with standard lib (omitempty w/ custom marshaler) #688

Open

Description

@leizor

A field that uses a custom marshaler does not adhere to the omitempty tag the same way that encoding/json does.

Example go playground: https://go.dev/play/p/ccfrr3rvac3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions