java.lang.Object
jsonvalues.JsOptics.JsArrayLenses
- Enclosing class:
- JsOptics
Contains all the lenses defined for a Json array
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray(int index) lens that focus on the json array located at an index in an arraylens that focus on the json array located at a path in an arrayfun.optic.Lens<JsArray,byte[]> binary(int index) lens that focus on an array of bytes located at an index in an arrayfun.optic.Lens<JsArray,byte[]> lens that focus on an array of bytes located at a path in an arraybool(int index) lens that focus on the boolean located at an index in an arraylens that focus on the boolean located at a path in an arrayfun.optic.Lens<JsArray,BigDecimal> decimalNum(int index) lens that focus on the decimal number located at an index in an arrayfun.optic.Lens<JsArray,BigDecimal> decimalNum(JsPath path) lens that focus on the decimal number located at a path in an arraydoubleNum(int index) lens that focus on the double number located at an index in an arraylens that focus on the double number located at a path in an arrayinstant(int index) lens that focus on the array of bytes at an index in an arraylens that focus on the array of bytes located at a path in an arrayfun.optic.Lens<JsArray,BigInteger> integralNum(int index) lens that focus on the integral number located at an index in an arrayfun.optic.Lens<JsArray,BigInteger> integralNum(JsPath path) lens that focus on the integral number located at a path in an arrayintNum(int index) lens that focus on the integer number located at an index in an arraylens that focus on the integer number located at a path in an arraylongNum(int index) lens that focus on the long number located at an index in an arraylens that focus on the long number located at a path in an arrayobj(int index) lens that focus on the json object located at an index in an arraylens that focus on the JSON object located at a path in an arraystr(int index) lens that focus on the string located at an index in an arraylens that focus on the string located at a path in an arrayvalue(int index) lens that focus on the value located at an index in an arraylens that focus on the value located at a path in an array
-
Constructor Details
-
JsArrayLenses
public JsArrayLenses()
-
-
Method Details
-
value
lens that focus on the value located at a path in an array- Parameters:
path- the path where the value is located at- Returns:
- a lens
-
value
lens that focus on the value located at an index in an array- Parameters:
index- the index where the value is located at- Returns:
- a lens
-
str
lens that focus on the string located at a path in an array- Parameters:
path- the path where the string is located at- Returns:
- a lens
-
str
lens that focus on the string located at an index in an array- Parameters:
index- the index where the string is located at- Returns:
- a lens
-
bool
lens that focus on the boolean located at a path in an array- Parameters:
path- the path where the boolean is located at- Returns:
- a lens
-
bool
lens that focus on the boolean located at an index in an array- Parameters:
index- the index where the boolean is located at- Returns:
- a lens
-
longNum
lens that focus on the long number located at a path in an array- Parameters:
path- the path where the long number is located at- Returns:
- a lens
-
longNum
lens that focus on the long number located at an index in an array- Parameters:
index- the index where the long number is located at- Returns:
- a lens
-
intNum
lens that focus on the integer number located at a path in an array- Parameters:
path- the path where the integer number is located at- Returns:
- a lens
-
intNum
lens that focus on the integer number located at an index in an array- Parameters:
index- the index where the integer number is located at- Returns:
- a lens
-
doubleNum
lens that focus on the double number located at a path in an array- Parameters:
path- the path where the double number is located at- Returns:
- a lens
-
doubleNum
lens that focus on the double number located at an index in an array- Parameters:
index- the index where the double number is located at- Returns:
- a lens
-
decimalNum
lens that focus on the decimal number located at a path in an array- Parameters:
path- the path where the decimal number is located at- Returns:
- a lens
-
decimalNum
lens that focus on the decimal number located at an index in an array- Parameters:
index- the index where the decimal number is located at- Returns:
- a lens
-
integralNum
lens that focus on the integral number located at a path in an array- Parameters:
path- the path where the integral number is located at- Returns:
- a lens
-
integralNum
lens that focus on the integral number located at an index in an array- Parameters:
index- the index where the integral number is located at- Returns:
- a lens
-
obj
lens that focus on the JSON object located at a path in an array- Parameters:
path- the path where the JSON object is located at- Returns:
- a lens
-
obj
lens that focus on the json object located at an index in an array- Parameters:
index- the index where the json object is located at- Returns:
- a lens
-
array
lens that focus on the json array located at a path in an array- Parameters:
path- the path where the json array is located at- Returns:
- a lens
-
array
lens that focus on the json array located at an index in an array- Parameters:
index- the index where the json array is located at- Returns:
- a lens
-
binary
lens that focus on an array of bytes located at a path in an array- Parameters:
path- the path where the bytes are located at- Returns:
- a lens
-
binary
lens that focus on an array of bytes located at an index in an array- Parameters:
index- the index where the bytes are located at- Returns:
- a lens
-
instant
lens that focus on the array of bytes located at a path in an array- Parameters:
path- the path where the bytes are located at- Returns:
- a lens
-
instant
lens that focus on the array of bytes at an index in an array- Parameters:
index- the index where the bytes are located at- Returns:
- a lens
-