![JAR search and dependency download from the Maven repository](/logo.png)
io.burt.jmespath.vertx.VertxRuntime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmespath-vertx Show documentation
Show all versions of jmespath-vertx Show documentation
A JMESPath implementation for Vert.X
The newest version!
package io.burt.jmespath.vertx;
import io.burt.jmespath.JmesPathType;
import io.burt.jmespath.RuntimeConfiguration;
import io.burt.jmespath.jcf.JcfRuntime;
import io.vertx.core.json.Json;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import static io.burt.jmespath.JmesPathType.ARRAY;
import static io.burt.jmespath.JmesPathType.OBJECT;
public class VertxRuntime extends JcfRuntime {
public VertxRuntime() {
this(RuntimeConfiguration.defaultConfiguration());
}
public VertxRuntime(RuntimeConfiguration configuration) {
super(configuration);
}
@Override
public Object parseString(String str) {
return Json.decodeValue(str);
}
@Override
@SuppressWarnings("unchecked")
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy