Constructor and Description |
---|
JsObjOptional() |
Modifier and Type | Method and Description |
---|---|
fun.optic.Option<JsObj,JsArray> |
array(JsPath path)
optional that focus on the array located at a path in an object
|
fun.optic.Option<JsObj,JsArray> |
array(String key)
optional that focus on the array located at a key in an object
|
fun.optic.Option<JsObj,byte[]> |
binary(JsPath path)
optional that focus on the array of bytes located at a path in an object
|
fun.optic.Option<JsObj,byte[]> |
binary(String key)
optional that focus on the array of bytes located at a key in an object
|
fun.optic.Option<JsObj,Boolean> |
bool(JsPath path)
optional that focus on the boolean located at a path in an object
|
fun.optic.Option<JsObj,Boolean> |
bool(String key)
optional that focus on the boolean located at a key in an object
|
fun.optic.Option<JsObj,BigDecimal> |
decimalNum(JsPath path)
optional that focus on the decimal number located at a path in an object
|
fun.optic.Option<JsObj,BigDecimal> |
decimalNum(String key)
optional that focus on the decimal number located at a key in an object
|
fun.optic.Option<JsObj,Double> |
doubleNum(JsPath path)
optional that focus on the double number located at a path in an object
|
fun.optic.Option<JsObj,Double> |
doubleNum(String key)
optional that focus on the double number located at a key in an object
|
fun.optic.Option<JsObj,Instant> |
instant(JsPath path)
optional that focus on the instant located at a path in an object
|
fun.optic.Option<JsObj,Instant> |
instant(String key)
optional that focus on the instant located at a key in an object
|
fun.optic.Option<JsObj,BigInteger> |
integralNum(JsPath path)
optional that focus on the integral number located at a path in an object
|
fun.optic.Option<JsObj,BigInteger> |
integralNum(String key)
optional that focus on the bigint number located at a path in an object
|
fun.optic.Option<JsObj,Integer> |
intNum(JsPath path)
optional that focus on the integer number located at a path in an object
|
fun.optic.Option<JsObj,Integer> |
intNum(String key)
optional that focus on the integer number located at a key in an object
|
fun.optic.Option<JsObj,Long> |
longNum(JsPath path)
optional that focus on the long number located at a path in an object
|
fun.optic.Option<JsObj,Long> |
longNum(String key)
optional that focus on the long number located at a key in an object
|
fun.optic.Option<JsObj,JsObj> |
obj(JsPath path)
optional that focus on the object located at a path in an object
|
fun.optic.Option<JsObj,JsObj> |
obj(String key)
optional that focus on the object located at a key in an object
|
fun.optic.Option<JsObj,String> |
str(JsPath path)
optional that focus on the string located at a path in an object
|
fun.optic.Option<JsObj,String> |
str(String key)
optional that focus on the string located at a key in an object
|
public fun.optic.Option<JsObj,String> str(JsPath path)
path
- the path where the string is located atpublic fun.optic.Option<JsObj,String> str(String key)
key
- the key where the string is located atpublic fun.optic.Option<JsObj,Boolean> bool(JsPath path)
path
- the path where the boolean is located atpublic fun.optic.Option<JsObj,Boolean> bool(String key)
key
- the key where the boolean is located atpublic fun.optic.Option<JsObj,Long> longNum(JsPath path)
path
- the path where the long number is located atpublic fun.optic.Option<JsObj,Long> longNum(String key)
key
- the key where the long number is located atpublic fun.optic.Option<JsObj,Integer> intNum(JsPath path)
path
- the path where the integer number is located atpublic fun.optic.Option<JsObj,Integer> intNum(String key)
key
- the key where the integer number is located atpublic fun.optic.Option<JsObj,Double> doubleNum(JsPath path)
path
- the path where the double number is located atpublic fun.optic.Option<JsObj,Double> doubleNum(String key)
key
- the key where the double number is located atpublic fun.optic.Option<JsObj,BigDecimal> decimalNum(JsPath path)
path
- the path where the decimal number is located atpublic fun.optic.Option<JsObj,BigDecimal> decimalNum(String key)
key
- the key where the decimal number is located atpublic fun.optic.Option<JsObj,BigInteger> integralNum(JsPath path)
path
- the path where the integral number is located atpublic fun.optic.Option<JsObj,BigInteger> integralNum(String key)
key
- the path where the bigint number is located atpublic fun.optic.Option<JsObj,JsObj> obj(JsPath path)
path
- the path where the object is located atpublic fun.optic.Option<JsObj,JsObj> obj(String key)
key
- the key where the object is located atpublic fun.optic.Option<JsObj,JsArray> array(JsPath path)
path
- the path where the array is located atpublic fun.optic.Option<JsObj,JsArray> array(String key)
key
- the path where the array is located atpublic fun.optic.Option<JsObj,byte[]> binary(JsPath path)
path
- the path where the bytes are located atpublic fun.optic.Option<JsObj,byte[]> binary(String key)
key
- the path where the bytes are located atpublic fun.optic.Option<JsObj,Instant> instant(JsPath path)
path
- the path where the instant is located atCopyright © 2022. All rights reserved.