Skip to content

Differentiate between null and undefined result #59

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions