import java.util.Map;
public class JsonUtil {
public static Object parsePopulate(String json, Class topClass, EngineImportService engineImportService) throws ExprValidationException {
ParseRuleSelector startRuleSelector = new ParseRuleSelector() {
public Tree invokeParseRule(EsperEPL2GrammarParser parser) throws RecognitionException {
return parser.startJsonValueRule();
}
};
ParseResult parseResult = ParseHelper.parse(json, json, true, startRuleSelector, false);