Skip to content

Transform error with null values #396

@Alkarex

Description

@Alkarex

Hello,
I believe this is an error:

Input:

{
  "hi": "world",
  "bye": null
}

Transform:

$ ~> | ** ["hi"] | {"hello": hi}, ["hi"] |

Output with http://try.jsonata.org :

u is null

Instead, I would expect the following output:

{
  "bye": null,
  "hello": "world"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions