Uses of Class
mjson.Json
Packages that use Json
Package
Description
The library in this package has been copied directly from https://github.com/bolerio/mjson
We want to avoid dependencies.
-
Uses of Json in mjson
Modifier and TypeMethodDescriptionfinal JsonAdd an arbitrary Java object to thisJsonarray.Add the specifiedJsonelement to this array.static JsonJson.array()static JsonReturn a new JSON array filled up with the list of arguments.Json.DefaultFactory.array()Json.Factory.array()Construct and return a JSON object.Json.at(int index) Return theJsonelement at the specified index of thisJsonarray.Return the specified property of aJsonobject ornullif there's no such property.final JsonReturn the specified property of aJsonobject if it exists.final JsonReturn the specified property of aJsonobject if it exists.Json.atDel(int index) Remove the element at the specified index from aJsonarray and return that element.Remove the specified property from aJsonobject and return that property.Json.DefaultFactory.bool(boolean x) Json.Factory.bool(boolean value) Construct and return a JSON boolean.protected JsonJson.collectWithOptions(Json... options) Return an object representing the complete configuration of a merge.Json.delAt(int index) Remove the element at the specified index from aJsonarray.Delete the specified property from aJsonobject.Json.dup()Construct and return a JSON object.static JsonConvert an arbitrary Java instance to aJsoninstance.Json.DefaultFactory.nil()Json.Factory.nil()Construct and return an object representing JSONnull.static JsonJson.nil()Construct and return a JSON number.Json.DefaultFactory.object()Json.Factory.object()Construct and return a JSON object.static JsonJson.object()static JsonReturn a new JSON object initialized from the passed list of name/value pairs.static JsonParse a JSON entity from its string representation.static JsonParse a JSON entity from aURL.static JsonJson.read(CharacterIterator it) Parse a JSON entity from aCharacterIterator.final JsonRemove the specified Java object (converted to a Json instance) from aJsonarray.Remove the specified element from aJsonarray.static JsonJson.help.resolvePointer(String pointer, Json element) Given a JSON Pointer, as per RFC 6901, return the nested JSON value within theelementparameter.Change the value of a JSON array element.final JsonSet aJsonobjects's property.Set aJsonobjects's property.Construct and return a JSON string.Json.Schema.toJson()Return the JSON representation of the schema.final JsonJson.up()Validate a JSON document according to this schema.Same as{}@link #with(Json,Json...options)}with each option argument converted toJsonfirst.Combine this object or array with the passed in object or array.Modifier and TypeMethodDescriptionAdd the specifiedJsonelement to this array.final JsonReturn the specified property of aJsonobject if it exists.voidExplicitly set the parent of this element.protected JsonJson.collectWithOptions(Json... options) Return an object representing the complete configuration of a merge.Remove the specified element from aJsonarray.static JsonJson.help.resolvePointer(String pointer, Json element) Given a JSON Pointer, as per RFC 6901, return the nested JSON value within theelementparameter.static Json.Schemastatic Json.SchemaSet aJsonobjects's property.Validate a JSON document according to this schema.Same as{}@link #with(Json,Json...options)}with each option argument converted toJsonfirst.Combine this object or array with the passed in object or array.Modifier and TypeMethodDescriptionstatic Json.SchemaJson.schema(URI uri, Json.Function<URI, Json> relativeReferenceResolver) -
Uses of Json in org.jgroups.protocols.kubernetes
Methods in org.jgroups.protocols.kubernetes with parameters of type JsonModifier and TypeMethodDescriptionprotected booleanClient.podRunning(Json podStatus) Helper method to determine if a pod is considered running or not.