public SpinJsonPathException unableToEvaluateJsonPathExpressionOnNode( SpinJsonNode node, Exception cause) { return new SpinJsonPathException( exceptionMessage( "013", "Unable to evaluate JsonPath expression on element '{}'", node.getClass().getName()), cause); }
public void testSpin_JSON_Available() { SpinJsonNode spinJsonEl = executeExpression("${ JSON('" + jsonString + "') }"); assertNotNull(spinJsonEl); assertEquals("bar", spinJsonEl.prop("foo").stringValue()); }