Fixing a bug in json schema helper where it tries
to pass through JsonElement and not attempting to compare
the incoming object with schema.
Issue-ID: POLICY-4353
Change-Id: I0ec8f6a8ec3723bca796e8cf43b6ec9164fbf582
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
* @return true if it's a straight pass through
*/
private boolean passThroughObject(final Object object) {
- return (object instanceof JsonElement || object instanceof Map || object instanceof List);
+ return (object instanceof Map || object instanceof List);
}
}