@Override
    public Object deserialize(String data, Type toType) throws IOException {
        if (toType == null) {
            return JSON.parse(data, getDeserializeConfig());
        } else {
            return JSON.parseObject(data, toType, getDeserializeConfig());
        }
    }
Deserialize

@param data data
@param toType Target type
extension-solon/src/main/java/com/alibaba/fastjson2/support/solon/Fastjson2StringSerializer.java