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