Uses of Class
jsonvalues.JsObj
Packages that use JsObj
-
Uses of JsObj in jsonvalues
Fields in jsonvalues declared as JsObjFields in jsonvalues with type parameters of type JsObjMethods in jsonvalues that return JsObjModifier and TypeMethodDescriptionstatic JsObj
JsObj.empty()
JsObj.filterKeys
(BiPredicate<? super JsPath, ? super JsValue> filter) JsObj.filterKeys
(Predicate<? super String> filter) JsObj.filterObjs
(BiPredicate<? super JsPath, ? super JsObj> filter) JsObj.filterObjs
(Predicate<? super JsObj> filter) JsObj.filterValues
(BiPredicate<? super JsPath, ? super JsPrimitive> filter) JsObj.filterValues
(Predicate<? super JsPrimitive> filter) JsArray.getObj
(int index) Returns the object located at the given index or null if it doesn't exist or it's not a json object.Returns the object located at the given index or the default value provided if it doesn't exist or it's not a json object.Returns the json object located at the given key or null if it doesn't exist or it's not an object.Returns the json object located at the given key or the default value provided if it doesn't exist or it's not an object.default JsObj
Returns the object located at the given path or null if it doesn't exist or it's not an object.default JsObj
Returns the object located at the given path or the default value provided if it doesn't exist or it's not an object.JsObj.intersection
(JsObj that, JsArray.TYPE ARRAY_AS) this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
this.intersection(that, MULTISET)
returns an array with the elements that exist in boththis
andthat
, being duplicates allowed.JsObj.mapKeys
(BiFunction<? super JsPath, ? super JsValue, String> fn) JsObj.mapObjs
(BiFunction<? super JsPath, ? super JsObj, ? extends JsValue> fn) JsObj.mapValues
(BiFunction<? super JsPath, ? super JsPrimitive, ? extends JsValue> fn) JsObj.mapValues
(Function<? super JsPrimitive, ? extends JsValue> fn) static JsObj
static JsObj
static JsObj
static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14, String key15, JsValue el15) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14, String key15, JsValue el15, String key16, JsValue el16) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14, String key15, JsValue el15, String key16, JsValue el16, String key17, JsValue el17) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14, String key15, JsValue el15, String key16, JsValue el16, String key17, JsValue el17, String key18, JsValue el18) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14, String key15, JsValue el15, String key16, JsValue el16, String key17, JsValue el17, String key18, JsValue el18, String key19, JsValue el19) static JsObj
JsObj.of
(String key1, JsValue el1, String key2, JsValue el2, String key3, JsValue el3, String key4, JsValue el4, String key5, JsValue el5, String key6, JsValue el6, String key7, JsValue el7, String key8, JsValue el8, String key9, JsValue el9, String key10, JsValue el10, String key11, JsValue el11, String key12, JsValue el12, String key13, JsValue el13, String key14, JsValue el14, String key15, JsValue el15, String key16, JsValue el16, String key17, JsValue el17, String key18, JsValue el18, String key19, JsValue el19, String key20, JsValue el20) static JsObj
static JsObj
static JsObj
static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14, JsPath path15, JsValue el15) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14, JsPath path15, JsValue el15, JsPath path16, JsValue el16) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14, JsPath path15, JsValue el15, JsPath path16, JsValue el16, JsPath path17, JsValue el17) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14, JsPath path15, JsValue el15, JsPath path16, JsValue el16, JsPath path17, JsValue el17, JsPath path18, JsValue el18) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14, JsPath path15, JsValue el15, JsPath path16, JsValue el16, JsPath path17, JsValue el17, JsPath path18, JsValue el18, JsPath path19, JsValue el19) static JsObj
JsObj.of
(JsPath path1, JsValue el1, JsPath path2, JsValue el2, JsPath path3, JsValue el3, JsPath path4, JsValue el4, JsPath path5, JsValue el5, JsPath path6, JsValue el6, JsPath path7, JsValue el7, JsPath path8, JsValue el8, JsPath path9, JsValue el9, JsPath path10, JsValue el10, JsPath path11, JsValue el11, JsPath path12, JsValue el12, JsPath path13, JsValue el13, JsPath path14, JsValue el14, JsPath path15, JsValue el15, JsPath path16, JsValue el16, JsPath path17, JsValue el17, JsPath path18, JsValue el18, JsPath path19, JsValue el19, JsPath path20, JsValue el20) static JsObj
Tries to parse the string into an immutable JSON object.Inserts the element at the key in this json, replacing any existing element.default JsObj
JsValue.toJsObj()
Returns this JsValue as a JsObjJsObj.union
(JsObj that, JsArray.TYPE ARRAY_AS) returnsthis
json object plus those pairs from the given json objectthat
which keys don't exist inthis
.Methods in jsonvalues that return types with arguments of type JsObjModifier and TypeMethodDescriptionlens that focus on a json array located at a key in an object.lens that focus on a json object located at a path in an object.optional 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.Lens<JsObj,
byte[]> lens that focus on an array of bytes located at a key in an object.fun.optic.Lens<JsObj,
byte[]> lens that focus on an array of bytes located at a path in an object.fun.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 objectlens that focus on a boolean located at a path in an object.lens that focus on a boolean located at a path in an object.optional 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.Lens<JsObj,
BigDecimal> JsOptics.JsObjLenses.decimalNum
(String key) lens that focus on a decimal number located at a key in an object.fun.optic.Lens<JsObj,
BigDecimal> JsOptics.JsObjLenses.decimalNum
(JsPath path) lens that focus on a decimal number located at a path in an object.fun.optic.Option<JsObj,
BigDecimal> JsOptics.JsObjOptional.decimalNum
(String key) optional that focus on the decimal number located at a key in an objectfun.optic.Option<JsObj,
BigDecimal> JsOptics.JsObjOptional.decimalNum
(JsPath path) optional that focus on the decimal number located at a path in an objectlens that focus on a double number located at a key in an object.lens that focus on a double number located at a path in an object.optional 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 objectlens that focus on an instant located at a key in an object.lens that focus on an instant located at a path in an object.optional 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.Lens<JsObj,
BigInteger> JsOptics.JsObjLenses.integralNum
(String key) lens that focus on a integral number located at a key in an object.fun.optic.Lens<JsObj,
BigInteger> JsOptics.JsObjLenses.integralNum
(JsPath path) lens that focus on a integral number located at a path in an object.fun.optic.Option<JsObj,
BigInteger> JsOptics.JsObjOptional.integralNum
(String key) optional that focus on the bigint number located at a path in an objectfun.optic.Option<JsObj,
BigInteger> JsOptics.JsObjOptional.integralNum
(JsPath path) optional that focus on the integral number located at a path in an objectlens that focus on a integer number located at a key in an object.lens that focus on a integer number located at a path in an object.optional 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 objectlens that focus on a long number located at a key in an object.lens that focus on a long number located at a path in an object.optional 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 objectJsOptics.JsArrayLenses.obj
(int index) lens that focus on the json object located at an index in an arraylens that focus on the json object located at a path in an arrayJsOptics.JsArrayOptionals.obj
(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 arraylens that focus on a json object located at a key in an object.lens that focus on a json object located at a key in an object.lens that focus on a json object located at a path in an object.lens that focus on a json object located at a path in an object.optional that focus on the object located at a key 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 object located at a path in an objectlens that focus on a string located at a key in an object.lens that focus on a string located at a path in an object.optional that focus on the string located at a key in an objectoptional that focus on the string located at a path in an objectlens that focus on a value located at a key in an object.lens that focus on a value located at a path in an object.Methods in jsonvalues with parameters of type JsObjModifier and TypeMethodDescriptionboolean
JsObj.equals
(JsObj that, JsArray.TYPE ARRAY_AS) return true if this obj is equal to the given as a parameter.JsObj.intersection
(JsObj that, JsArray.TYPE ARRAY_AS) this.intersection(that, SET)
returns an array with the elements that exist in boththis
andthat
this.intersection(that, MULTISET)
returns an array with the elements that exist in boththis
andthat
, being duplicates allowed.JsObj.union
(JsObj that, JsArray.TYPE ARRAY_AS) returnsthis
json object plus those pairs from the given json objectthat
which keys don't exist inthis
.Method parameters in jsonvalues with type arguments of type JsObjModifier and TypeMethodDescriptionJsArray.filterObjs
(BiPredicate<? super JsPath, ? super JsObj> filter) JsArray.filterObjs
(Predicate<? super JsObj> filter) JsObj.filterObjs
(BiPredicate<? super JsPath, ? super JsObj> filter) JsObj.filterObjs
(Predicate<? super JsObj> filter) Json.filterObjs
(BiPredicate<? super JsPath, ? super JsObj> filter) Filters all the pair of jsons of this json, removing those that don't ifPredicateElse the predicate.Json.filterObjs
(Predicate<? super JsObj> filter) Filters all the pair of jsons of this json, removing those that don't ifPredicateElse the predicate.Returns the object located at the given index or the default value provided if it doesn't exist or it's not a json object.Returns the json object located at the given key or the default value provided if it doesn't exist or it's not an object.default JsObj
Returns the object located at the given path or the default value provided if it doesn't exist or it's not an object.default boolean
Returns true if this elem is a JsObj and satisfies the given predicateJsArray.mapObjs
(BiFunction<? super JsPath, ? super JsObj, ? extends JsValue> fn) JsObj.mapObjs
(BiFunction<? super JsPath, ? super JsObj, ? extends JsValue> fn) Json.mapObjs
(BiFunction<? super JsPath, ? super JsObj, ? extends JsValue> fn) Maps all the jsons of this json.Maps all the jsons of this json. -
Uses of JsObj in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsObjModifier and TypeMethodDescriptionReturns a supplier from the specified seed that generates a new JsObj each time it's calledfun.gen.Gen<JsObj>
Creates a generator that generates values from this gen that satisfy the specified spec.fun.gen.Gen<JsObj>
Creates a generator that generates values from this gen that satisfy the specified spec.fun.gen.Gen<JsObj>
JsObjGen.suchThatNo
(JsObjSpec spec) Creates a generator that generates values from this gen that doesn't satisfy the specified spec.fun.gen.Gen<JsObj>
JsObjGen.suchThatNo
(JsObjSpec spec, int tries) Creates a generator that generates values from this gen that doesn't satisfy the specified spec. -
Uses of JsObj in jsonvalues.spec
Methods in jsonvalues.spec that return JsObjModifier and TypeMethodDescriptionJsObjSpecParser.parse
(byte[] bytes) parses an array of bytes into a Json object that must conform the spec of the parser.JsObjSpecParser.parse
(InputStream inputstream) parses an input stream of bytes into a Json object that must conform the spec of the parser.parses a string into a Json object that must conform the spec of the parser.JsonIO.parseToJsObj
(byte[] bytes) Method parameters in jsonvalues.spec with type arguments of type JsObjModifier and TypeMethodDescriptionstatic JsArraySpec
JsSpecs.arrayOfObj
(Predicate<JsObj> predicate) non-nullable array of objects, where each element of the array satisfies the given predicatestatic JsArraySpec
JsSpecs.arrayOfObj
(Predicate<JsObj> predicate, int minLength, int maxLength) non-nullable array of objects, where each element of the array satisfies the given predicatestatic JsSpec
non-nullable json object that satisfies the given predicate