@FunctionalInterface public interface JSONStringer extends Wrapper<Object>
JSONString接口定义了一个toJSONString()toJSONString()方法来改变转JSON字符串的方式。| Modifier and Type | Method and Description |
|---|---|
default Object |
getRaw()
获取原始的对象,默认为this
|
String |
toJSONString()
自定义转JSON字符串的方法
|
Copyright © 2024. All rights reserved.