omitempty doesnt work on primitive.Decimal128 (json)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      This is related to the issue GODRIVER-1783 the `bson:"field,omitempty"` works, but not 

      `json:"field,omitempty"` the return will be

      {cost: "0E-6176"}

            Assignee:
            Benji Rewis (Inactive)
            Reporter:
            Shadoweb EB
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: