java.lang.Object
jsonvalues.JsOptics.JsObjLenses
- Enclosing class:
- JsOptics
Represents all the lenses defined for a Json object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlens that focus on a json array located at a key in an object.lens that focus on a json object located at a path in an object.fun.optic.Lens<JsObj,
byte[]> lens that focus on an array of bytes located at a key in an object.fun.optic.Lens<JsObj,
byte[]> lens that focus on an array of bytes located at a path in an object.lens that focus on a boolean located at a path in an object.lens that focus on a boolean located at a path in an object.fun.optic.Lens<JsObj,
BigDecimal> decimalNum
(String key) lens that focus on a decimal number located at a key in an object.fun.optic.Lens<JsObj,
BigDecimal> decimalNum
(JsPath path) lens that focus on a decimal number located at a path in an object.lens that focus on a double number located at a key in an object.lens that focus on a double number located at a path in an object.lens that focus on an instant located at a key in an object.lens that focus on an instant located at a path in an object.fun.optic.Lens<JsObj,
BigInteger> integralNum
(String key) lens that focus on a integral number located at a key in an object.fun.optic.Lens<JsObj,
BigInteger> integralNum
(JsPath path) lens that focus on a integral number located at a path in an object.lens that focus on a integer number located at a key in an object.lens that focus on a integer number located at a path in an object.lens that focus on a long number located at a key in an object.lens that focus on a long number located at a path in an object.lens that focus on a json object located at a key in an object.lens that focus on a json object located at a path in an object.lens that focus on a string located at a key in an object.lens that focus on a string located at a path in an object.lens that focus on a value located at a key in an object.lens that focus on a value located at a path in an object.
-
Constructor Details
-
JsObjLenses
public JsObjLenses()
-
-
Method Details
-
value
lens that focus on a value located at a path in an object.- Parameters:
path
- the path where the value is located at- Returns:
- an optional
-
value
lens that focus on a value located at a key in an object.- Parameters:
key
- the key where the value is located at- Returns:
- an optional
-
str
lens that focus on a string located at a path in an object.- Parameters:
path
- the path where the string is located at- Returns:
- an optional
-
str
lens that focus on a string located at a key in an object.- Parameters:
key
- the key where the string is located at- Returns:
- an optional
-
bool
lens that focus on a boolean located at a path in an object.- Parameters:
path
- the path where the boolean is located at- Returns:
- an optional
-
bool
lens that focus on a boolean located at a path in an object.- Parameters:
key
- the key where the boolean is located at- Returns:
- an optional
-
longNum
lens that focus on a long number located at a path in an object.- Parameters:
path
- the path where the long number is located at- Returns:
- an optional
-
longNum
lens that focus on a long number located at a key in an object.- Parameters:
key
- the key where the long number is located at- Returns:
- an optional
-
intNum
lens that focus on a integer number located at a path in an object.- Parameters:
path
- the path where the integer number is located at- Returns:
- an optional
-
intNum
lens that focus on a integer number located at a key in an object.- Parameters:
key
- the key where the integer number is located at- Returns:
- an optional
-
doubleNum
lens that focus on a double number located at a path in an object.- Parameters:
path
- the path where the double number is located at- Returns:
- an optional
-
doubleNum
lens that focus on a double number located at a key in an object.- Parameters:
key
- the key where the double number is located at- Returns:
- an optional
-
decimalNum
lens that focus on a decimal number located at a path in an object.- Parameters:
path
- the path where the decimal number is located at- Returns:
- an optional
-
decimalNum
lens that focus on a decimal number located at a key in an object.- Parameters:
key
- the key where the decimal number is located at- Returns:
- an optional
-
integralNum
lens that focus on a integral number located at a path in an object.- Parameters:
path
- the path where the integral number is located at- Returns:
- an optional
-
integralNum
lens that focus on a integral number located at a key in an object.- Parameters:
key
- the key where the integral number is located at- Returns:
- an optional
-
obj
lens that focus on a json object located at a path in an object.- Parameters:
path
- the path where the json object is located at- Returns:
- an optional
-
obj
lens that focus on a json object located at a key in an object.- Parameters:
key
- the key where the json object is located at- Returns:
- an optional
-
array
lens that focus on a json object located at a path in an object.- Parameters:
path
- the path where the json array is located at- Returns:
- an optional
-
array
lens that focus on a json array located at a key in an object.- Parameters:
key
- the key where the json array is located at- Returns:
- an optional
-
binary
lens that focus on an array of bytes located at a path in an object.- Parameters:
path
- the path where the array of bytes is located at- Returns:
- an optional
-
binary
lens that focus on an array of bytes located at a key in an object.- Parameters:
key
- the key where the array of bytes is located at- Returns:
- an optional
-
instant
lens that focus on an instant located at a path in an object.- Parameters:
path
- the path where the instant is located at- Returns:
- an optional
-
instant
lens that focus on an instant located at a key in an object.- Parameters:
key
- the key where the instant is located at- Returns:
- an optional
-