4.3.4 인라인 Maps by ys
// evaluates to a Java map containing the two entries
Map inventorInfo
= (Map) parser.parseExpression("{name:'Nikola',dob:'10-July-1856'}").getValue(context);
Map mapOfMaps
= (Map) parser.parseExpression("{name:{first:'Nikola',last:'Tesla'},dob:{day:10,month:'July',year:1856}}").getValue(context);Last updated
Was this helpful?