Skip to content

How to differentiate between null and not existing? #59

@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

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions