Skip to content

How to differentiate between null and not existing? #59

Open
@ck-c8y

Description

@ck-c8y
  1. When I evaluate the expression nullField against the document:
    { "nullField": null }
    I get null.

  2. When I evaluate the expressions nonExistingField against the same document I still get: null.

When I run the same test in the JSONata Exerciser I get:

  1. null
  2. ** no match **

How can I differentiate these two cases in jsonata-java ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions