public class Json extends PlainText
sourceTexts
Constructor and Description |
---|
Json(List<String> strings) |
Json(String text) |
Modifier and Type | Method and Description |
---|---|
Selectable |
jsonPath(String jsonPath)
extract by JSON Path expression
|
Json |
removePadding(String padding)
remove padding for JSONP
|
<T> List<T> |
toList(Class<T> clazz) |
<T> T |
toObject(Class<T> clazz) |
$, $, create, getSourceTexts, links, nodes, smartContent, xpath
all, css, css, get, getFirstSourceText, match, regex, regex, replace, select, select, selectList, selectList, toString
public Json removePadding(String padding)
padding
- paddingpublic <T> T toObject(Class<T> clazz)
public Selectable jsonPath(String jsonPath)
Selectable
jsonPath
in interface Selectable
jsonPath
in class AbstractSelectable
jsonPath
- jsonPathCopyright © 2017. All rights reserved.