This reverts commit
76c38f09e566b09c9879bdd624b6919b6840beed.
Reason for revert: The bug was not in the code, rather in the schemas defined in the policy implementation.
Issue-ID: POLICY-4353
Change-Id: I39b60bc40e8c3be8e5820e7d618ef0c47916056d
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 Map || object instanceof List);
+ return (object instanceof JsonElement || object instanceof Map || object instanceof List);
}
}