marshalling mode to ignore omitempty mode

XMLWordPrintableJSON

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

      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
            Reporter:
            Sam Kleinman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: