我有以下格式的json,可以从前端获取它:
json值: [book:[name:Java,author:Test],id:1]
当我尝试使用Quartz Job Scheduler在schedulerService中检索这些值时,我看不到这些值。下面是代码:
//job controller
try{
JobDetail job = new JobDetail(request.JSON);
println request.JSON //i dont see the JSON values
def id = context.mergedJobDataMap.get('id');
}