|
|
@ -82,6 +82,11 @@ public class JsonContext implements DocumentContext { |
|
|
|
return convert(read(path, filters), type, configuration); |
|
|
|
return convert(read(path, filters), type, configuration); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public <T> T read(String path, TypeRef<T> type, Predicate... filters) { |
|
|
|
|
|
|
|
return convert(read(path, filters), type, configuration); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public <T> T read(JsonPath path) { |
|
|
|
public <T> T read(JsonPath path) { |
|
|
|
notNull(path, "path can not be null"); |
|
|
|
notNull(path, "path can not be null"); |
|
|
|