Skip to content

Filter objects part of transformation #58

@ricott

Description

@ricott

Hi!

Started to use this package for a project, so far so good :)

I have an input JSON that I'd like to transform but also based on a condition - if a certain property is null, then I'd like to omit that object. Is that possible to achieve somehow?

This could be input and I'd like to exclude objects where contact equals null.

[
  {
    contact: 'asdf-asdf-asdf',
    account: null
  },
  {
    contact: null,
    account: '1234-1234-1234'
  }
]

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions