public Object parse(String val) { Map<String, Object> result = platform.pdp().applyInterpreters(ImmutableMap.of("dummyKey", val)); checkState( result.keySet().equals(ImmutableSet.of("dummyKey")), "expected single result, but got %s", result); return result.get("dummyKey"); }
public Map<String, Object> parse(Map<String, Object> map) { return platform.pdp().applyInterpreters(map); }