Uses of Interface
jsonvalues.Json
-
Packages that use Json Package Description com.dslplatform.json the library dsl-json has been extended with some customization.jsonvalues json-values is a one-package and zero-dependency library to work with jsons in a declarative and functional way. -
-
Uses of Json in com.dslplatform.json
Methods in com.dslplatform.json with parameters of type Json Modifier and Type Method Description byte[]MyDslJson. serialize(Json<?> json)voidMyDslJson. serialize(Json<?> json, OutputStream ouputstream)StringMyDslJson. toPrettyString(Json<?> json) -
Uses of Json in jsonvalues
Classes in jsonvalues with type parameters of type Json Modifier and Type Interface Description interfaceJson<T extends Json<T>>Represents a json of type T, where T is the type of the container, either a JsObj or a JsArray.Classes in jsonvalues that implement Json Modifier and Type Class Description classJsArrayRepresents a json array, which is an ordered list of elements.classJsObjRepresents a json object, which is an unordered set of name/element pairs.Methods in jsonvalues that return Json Modifier and Type Method Description default Json<?>JsValue. toJson()Method parameters in jsonvalues with type arguments of type Json Modifier and Type Method Description <T> TJsPair. ifJsonElse(BiFunction<JsPath,Json<?>,T> ifJson, BiFunction<JsPath,JsValue,T> ifNotJson)Declarative way of implementing an if(json)return T; else return T; where T is computed by the given functionsstatic <T> Function<JsValue,T>MatchExp. ifJsonElse(Function<Json<?>,T> ifJson, Function<JsValue,T> ifNotJson)return a matching expression to extract jsons out of json elements.default booleanJsValue. isJson(Predicate<Json<?>> predicate)Returns true if this elem is a Json and satisfies the given predicate
-