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