Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-550

marshalling mode to ignore omitempty mode

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:

      I've been working on a go library read and write FTDC data using the new BSON library. It's great!

      I have found myself in a situation where I wanted to marshal a 3rd party struct that had omitempty tags, and I did not want the omitemtpy behavior so I had to modify the vendored code. It would be nice to toggle respect-omit empty rather than needing to modify the struct itself.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sam.kleinman Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: