Browse Source

Wrong pass

pull/477/head
啊o额iu鱼 6 years ago committed by GitHub
parent
commit
ca1b42d07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/internal/ParseContextImpl.java

2
json-path/src/main/java/com/jayway/jsonpath/internal/ParseContextImpl.java

@ -46,7 +46,7 @@ public class ParseContextImpl implements ParseContext {
@Override
public DocumentContext parse(InputStream json, String charset) {
notNull(json, "json input stream can not be null");
notNull(json, "charset can not be null");
notNull(charset, "charset can not be null");
try {
Object obj = configuration.jsonProvider().parse(json, charset);
return new JsonContext(obj, configuration);

Loading…
Cancel
Save