Skip to content

Why not to include false attrs in JSON? #10

Description

@sarumjanuch

https://github.com/otalk/jxt/blob/master/lib/stanza.js#L104

On this line we have: else if (val !== undefined && val !== false && val !== '') , but what if my value is false and i need it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions