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