Using jsonpathgetsingle() in BML Returns Null (Doc ID 2251755.1)

Last updated on APRIL 06, 2017

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 2016 R1 and later
Information in this document applies to any platform.

Symptoms

When using the BML function jsonpathgetsingle(), the function responds with null rather than the correct values.

Attempt to use jsonpathgetsingle() with a path for a key that contains a "." in the key. For example:

JSON Object:

The above code will print "null" instead of "noreturn". Using "$.key2" instead of "$.key.3" will print "testword" however.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms