Test json with \n

This commit is contained in:
jeffcheasey88 2023-09-13 00:03:50 +02:00
parent 18ec7fb396
commit 5e2d84895d
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -23,7 +23,7 @@ public abstract class FormResponse implements Response{
} }
public <T extends JSONAware> T json(HttpReader reader) throws Exception{ public <T extends JSONAware> T json(HttpReader reader) throws Exception{
return (T) (this.json = reader.readJson()); return (T) (this.json = reader.readJsonEnter());
} }
public boolean hasFields(String... fields){ public boolean hasFields(String... fields){