
top.jfunc.common.converter.JsonConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils Show documentation
Show all versions of utils Show documentation
common utils like IOUtil,StrUtil,HoldProcessor.etc.
package top.jfunc.common.converter;
import top.jfunc.json.JsonArray;
import top.jfunc.json.JsonObject;
/**
* 专门针对string转换为json的
* @author xiongshiyan at 2018/7/16
*/
public interface JsonConverter extends Converter {
/**
* 将字符串转换为JsonObject
* @param src 原字符串
* @return JsonObject
*/
JsonObject convertJsonObject(String src);
/**
* 将字符串转换为JsonArray
* @param src 原字符串
* @return JsonArray
*/
JsonArray convertJsonArray(String src);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy