@Override
    @SuppressWarnings("unchecked")
    public List<String> selectList(String text) {
        List<String> list = new ArrayList<>();
        Object object = jsonPath.read(text);
        if (object == null) {
            return list;
        }
        if (object instanceof List) {
            List<Object> items = (List<Object>) object;
            for (Object item : items) {
                list.add(toString(item));
            }
        } else {
            list.add(toString(object));
        }
        return list;
    }
JsonPath selector.<br>
Used to extract content from JSON.<br>

@author code4crafter@gmail.com <br>
@since 0.2.1
webmagic-core/src/main/java/us/codecraft/webmagic/selector/JsonPathSelector.java