public JSON toCamelCaseFromMap(Object item) {
Map camelMapConfig = new HashMap<>();
for (String str : ((Map) item).keySet()) {
camelMapConfig.put(toCamelCase(str), ((Map) item).get(str));
}
String jsonStr = JSON.toJSONString(camelMapConfig);
JSONObject jsonObject = JSON.parseObject(jsonStr);
){
return jsonObject;
}
Question q = com.alibaba.fastjson.JSONObject.toJavaObject(toCamelCaseFromMap(map.get("_source")), Question.class);



