Javascript object serialization process should skip properties with undefined values

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.3
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • Build 8 08/31/15, Build 9 (09/18/15), Build A (10/09/15), Build B (10/30/15), Build C (11/20/15)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Inserting a "undefined" field (e.i. a: undefined) results in a documenta with a "null" value in that field.

      In my opinión those field should be ignored and not transformed, same as JSON.stringify.

      This could be reproduced in the mongodb console and in the node driver

            Assignee:
            Jonathan Reams
            Reporter:
            Víctor Herraiz Posada
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: