@Test public void failsWhenUnableToParsePattern() { NodeMapper mapper = new NodeMapper(); Node input = Node.from("["); Assertions.assertThrows( NodeDeserializationException.class, () -> mapper.deserialize(input, Pattern.class)); }
public <T> T deserialize(Node value, Class<T> into) { return deserializeNext(value, "", into, Object.class, this); }
NodeMapper { public <T> T deserialize(Node value, Class<T> into) { return deserializeNext(value, "", into, Object.class, this); } }
NodeMapper { public <T> T deserialize(Node value, Class<T> into) { return deserializeNext(value, "", into, Object.class, this); }  }
NodeMapper { public <T> T deserialize(Node value, Class<T> into) { return deserializeNext(value, "", into, Object.class, this); }  void setSerializeNullValues(boolean serializeNullValues); boolean getSerializeNullValues(); void setWhenMissingSetter(WhenMissing whenMissing); WhenMissing getWhenMissingSetter(); void disableToNodeForClass(Class type); void enableToNodeForClass(Class type); Set<Class> getDisableToNode(); void disableFromNodeForClass(Class type); void enableFromNodeForClass(Class type); Set<Class> getDisableFromNode(); boolean getOmitEmptyValues(); void setOmitEmptyValues(boolean omitEmptyValues); Node serialize(Object object); T deserialize(Node value, Class<T> into); T deserializeInto(Node value, T objectToMutate); @SuppressWarnings("unchecked") V deserializeCollection(
            Node value,
            Class<T> into,
            Class<U> members
    ); @SuppressWarnings("unchecked") V deserializeMap(
            Node value, Class<T> into,
            Class<U> members
    ); }
NodeMapper { public <T> T deserialize(Node value, Class<T> into) { return deserializeNext(value, "", into, Object.class, this); }  void setSerializeNullValues(boolean serializeNullValues); boolean getSerializeNullValues(); void setWhenMissingSetter(WhenMissing whenMissing); WhenMissing getWhenMissingSetter(); void disableToNodeForClass(Class type); void enableToNodeForClass(Class type); Set<Class> getDisableToNode(); void disableFromNodeForClass(Class type); void enableFromNodeForClass(Class type); Set<Class> getDisableFromNode(); boolean getOmitEmptyValues(); void setOmitEmptyValues(boolean omitEmptyValues); Node serialize(Object object); T deserialize(Node value, Class<T> into); T deserializeInto(Node value, T objectToMutate); @SuppressWarnings("unchecked") V deserializeCollection(
            Node value,
            Class<T> into,
            Class<U> members
    ); @SuppressWarnings("unchecked") V deserializeMap(
            Node value, Class<T> into,
            Class<U> members
    );  }