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