/** * Fails if the selected JSON is not an Object or is not present. */ public void isObject() { assertType(OBJECT); }
/** * Fails if the selected JSON is not an Object or is not present. */ public void isObject() { assertType(OBJECT); }
/** * Fails if the selected JSON is not a String or is not present. */ public void isString() { assertType(STRING); }
/** * Fails if the selected JSON is not a String or is not present. */ public void isString() { assertType(STRING); }
/** * Fails if the selected JSON is not an Array or is not present. * * @return */ public ArrayAssert isArray() { Node node = assertType(ARRAY); return new ArrayAssert(node.arrayElements()); }
/** * Fails if the selected JSON is not an Array or is not present. * * @return */ public ArrayAssert isArray() { Node node = assertType(ARRAY); return new ArrayAssert(node.arrayElements()); }