Package jsonvalues
Class JsOptics.JsObjOptional
java.lang.Object
jsonvalues.JsOptics.JsObjOptional
- Enclosing class:
JsOptics
Contains all the optionals defined for a Json object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoptional that focus on the array located at a key in an objectoptional that focus on the array located at a path in an objectfun.optic.Option
<JsObj, byte[]> optional that focus on the array of bytes located at a key in an objectfun.optic.Option
<JsObj, byte[]> optional that focus on the array of bytes located at a path in an objectoptional that focus on the boolean located at a key in an objectoptional that focus on the boolean located at a path in an objectfun.optic.Option
<JsObj, BigDecimal> decimalNum
(String key) optional that focus on the decimal number located at a key in an objectfun.optic.Option
<JsObj, BigDecimal> decimalNum
(JsPath path) optional that focus on the decimal number located at a path in an objectoptional that focus on the double number located at a key in an objectoptional that focus on the double number located at a path in an objectoptional that focus on the instant located at a key in an objectoptional that focus on the instant located at a path in an objectfun.optic.Option
<JsObj, BigInteger> integralNum
(String key) optional that focus on the bigint number located at a path in an objectfun.optic.Option
<JsObj, BigInteger> integralNum
(JsPath path) optional that focus on the integral number located at a path in an objectoptional that focus on the integer number located at a key in an objectoptional that focus on the integer number located at a path in an objectoptional that focus on the long number located at a key in an objectoptional that focus on the long number located at a path in an objectoptional that focus on the object located at a key in an objectoptional that focus on the object located at a path in an objectoptional that focus on the string located at a key in an objectoptional that focus on the string located at a path in an object
-
Constructor Details
-
JsObjOptional
public JsObjOptional()
-
-
Method Details
-
str
optional that focus on the string located at a path in an object- Parameters:
path
- the path where the string is located at- Returns:
- an optional
-
str
optional that focus on the string located at a key in an object- Parameters:
key
- the key where the string is located at- Returns:
- an optional
-
bool
optional that focus on the boolean located at a path in an object- Parameters:
path
- the path where the boolean is located at- Returns:
- an optional
-
bool
optional that focus on the boolean located at a key in an object- Parameters:
key
- the key where the boolean is located at- Returns:
- an optional
-
longNum
optional that focus on the long number located at a path in an object- Parameters:
path
- the path where the long number is located at- Returns:
- an optional
-
longNum
optional that focus on the long number located at a key in an object- Parameters:
key
- the key where the long number is located at- Returns:
- an optional
-
intNum
optional that focus on the integer number located at a path in an object- Parameters:
path
- the path where the integer number is located at- Returns:
- an optional
-
intNum
optional that focus on the integer number located at a key in an object- Parameters:
key
- the key where the integer number is located at- Returns:
- an optional
-
doubleNum
optional that focus on the double number located at a path in an object- Parameters:
path
- the path where the double number is located at- Returns:
- an optional
-
doubleNum
optional that focus on the double number located at a key in an object- Parameters:
key
- the key where the double number is located at- Returns:
- an optional
-
decimalNum
optional that focus on the decimal number located at a path in an object- Parameters:
path
- the path where the decimal number is located at- Returns:
- an optional
-
decimalNum
optional that focus on the decimal number located at a key in an object- Parameters:
key
- the key where the decimal number is located at- Returns:
- an optional
-
integralNum
optional that focus on the integral number located at a path in an object- Parameters:
path
- the path where the integral number is located at- Returns:
- an optional
-
integralNum
optional that focus on the bigint number located at a path in an object- Parameters:
key
- the path where the bigint number is located at- Returns:
- an optional
-
obj
optional that focus on the object located at a path in an object- Parameters:
path
- the path where the object is located at- Returns:
- an optional
-
obj
optional that focus on the object located at a key in an object- Parameters:
key
- the key where the object is located at- Returns:
- an optional
-
array
optional that focus on the array located at a path in an object- Parameters:
path
- the path where the array is located at- Returns:
- an optional
-
array
optional that focus on the array located at a key in an object- Parameters:
key
- the path where the array is located at- Returns:
- an optional
-
binary
optional that focus on the array of bytes located at a path in an object- Parameters:
path
- the path where the bytes are located at- Returns:
- an optional
-
binary
optional that focus on the array of bytes located at a key in an object- Parameters:
key
- the path where the bytes are located at- Returns:
- an optional
-
instant
optional that focus on the instant located at a path in an object- Parameters:
path
- the path where the instant is located at- Returns:
- an optional
-
instant
optional that focus on the instant located at a key in an object- Parameters:
key
- the path where the instant is located at- Returns:
- an optional
-