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