private String toString(Object object) {
        if (object instanceof Map) {
            return JSON.toJSONString(object);
        } else {
            return String.valueOf(object);
        }
    }
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