
jsonvalues.JsObjLens Maven / Gradle / Ivy
package jsonvalues;
/**
Represent a Lens which focus is a json object located at a path is a Json
@param the type of the whole part, an array or an object */
public class JsObjLens> extends Lens {
JsObjLens(final JsPath path) {
super(json -> json.getObj(path),
o -> json -> json.set(path,
o)
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy