Package jsonvalues
Class JsOptics.JsArrayOptionals
java.lang.Object
jsonvalues.JsOptics.JsArrayOptionals
- Enclosing class:
- JsOptics
Contains all the optionals defined for a Json array
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray
(int index) optional that focus on the json array located at an index in an arrayoptional that focus on the array located at a path in an arraybool
(int index) optional that focus on the boolean located at an index in an arrayoptional that focus on the boolean located at a path in an arrayfun.optic.Option<JsArray,
BigDecimal> decimalNum
(int index) optional that focus on the decimal number located at an index in an arrayfun.optic.Option<JsArray,
BigDecimal> decimalNum
(JsPath path) optional that focus on the decimal number located at a path in an arraydoubleNum
(int index) optional that focus on the double number located at an index in an arrayoptional that focus on the double number located at a path in an arrayinstant
(int index) optional that focus on the instant located at an index in an arrayoptional that focus on the instant located at a path in an arrayfun.optic.Option<JsArray,
BigInteger> integralNum
(int index) optional that focus on the integral number located at an index in an arrayfun.optic.Option<JsArray,
BigInteger> integralNum
(JsPath path) optional that focus on the integral number located at a path in an arrayintNum
(int index) optional that focus on the integer number located at an index in an arrayoptional that focus on the integer number located at a path in an arraylongNum
(int index) optional that focus on the long number located at an index in an arrayoptional that focus on the long number located at a path in an arrayobj
(int index) optional that focus on the json object located at an index in an arrayoptional that focus on the object located at a path in an arraystr
(int index) optional that focus on the string located at an index in an arrayoptional that focus on the string located at a path in an array
-
Constructor Details
-
JsArrayOptionals
public JsArrayOptionals()
-
-
Method Details
-
str
optional that focus on the string located at a path in an array- Parameters:
path
- the path where the string is located at- Returns:
- an optional
-
str
optional that focus on the string located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
bool
optional that focus on the boolean located at a path in an array- Parameters:
path
- the path where the boolean number is located at- Returns:
- an optional
-
bool
optional that focus on the boolean located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
longNum
optional 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:
- an optional
-
longNum
optional that focus on the long number located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
intNum
optional 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:
- an optional
-
intNum
optional that focus on the integer number located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
doubleNum
optional 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:
- an optional
-
doubleNum
optional that focus on the double number located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
decimalNum
optional 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:
- an optional
-
decimalNum
optional that focus on the decimal number located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
integralNum
optional 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:
- an optional
-
integralNum
optional that focus on the integral number located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
obj
optional that focus on the object located at a path in an array- Parameters:
path
- the path where the obj is located at- Returns:
- an optional
-
obj
optional that focus on the json object located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
array
optional that focus on the array located at a path in an array- Parameters:
path
- the path where the array is located at- Returns:
- an optional
-
array
optional that focus on the json array located at an index in an array- Parameters:
index
- the index- Returns:
- an optional
-
instant
optional that focus on the instant located at a path in an array- Parameters:
path
- the path where the instant is located at- Returns:
- an optional
-
instant
optional that focus on the instant located at an index in an array- Parameters:
index
- the index where the instant is located at- Returns:
- an optional
-