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

    Methods in mjson that return Json
    Modifier and Type
    Method
    Description
    final Json
    Json.add(Object anything)
    Add an arbitrary Java object to this Json array.
    Json.add(Json el)
    Add the specified Json element to this array.
    static Json
    Json.array()
     
    static Json
    Json.array(Object... args)
    Return 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 the Json element at the specified index of this Json array.
    Json.at(String property)
    Return the specified property of a Json object or null if there's no such property.
    final Json
    Json.at(String property, Object def)
    Return the specified property of a Json object if it exists.
    final Json
    Json.at(String property, Json def)
    Return the specified property of a Json object if it exists.
    Json.atDel(int index)
    Remove the element at the specified index from a Json array and return that element.
    Json.atDel(String property)
    Remove the specified property from a Json object and return that property.
    Json.DefaultFactory.bool(boolean x)
     
    Json.Factory.bool(boolean value)
    Construct and return a JSON boolean.
    protected Json
    Json.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 a Json array.
    Json.delAt(String property)
    Delete the specified property from a Json object.
    Json.dup()
     
    Json.DefaultFactory.make(Object anything)
     
    Json.Factory.make(Object anything)
    Construct and return a JSON object.
    static Json
    Json.make(Object anything)
    Convert an arbitrary Java instance to a Json instance.
    Json.DefaultFactory.nil()
     
    Json.Factory.nil()
    Construct and return an object representing JSON null.
    static Json
    Json.nil()
     
    Json.DefaultFactory.number(Number x)
     
    Json.Factory.number(Number value)
    Construct and return a JSON number.
    Json.DefaultFactory.object()
     
    Json.Factory.object()
    Construct and return a JSON object.
    static Json
    Json.object()
     
    static Json
    Json.object(Object... args)
    Return a new JSON object initialized from the passed list of name/value pairs.
    static Json
    Json.read(String jsonAsString)
    Parse a JSON entity from its string representation.
    static Json
    Json.read(URL location)
    Parse a JSON entity from a URL.
    static Json
    Parse a JSON entity from a CharacterIterator.
    final Json
    Json.remove(Object anything)
    Remove the specified Java object (converted to a Json instance) from a Json array.
    Json.remove(Json el)
    Remove the specified element from a Json array.
    static Json
    Json.help.resolvePointer(String pointer, Json element)
    Given a JSON Pointer, as per RFC 6901, return the nested JSON value within the element parameter.
    Json.set(int index, Object value)
    Change the value of a JSON array element.
    final Json
    Json.set(String property, Object value)
    Set a Json objects's property.
    Json.set(String property, Json value)
    Set a Json objects's property.
    Json.DefaultFactory.string(String x)
     
    Json.Factory.string(String value)
    Construct and return a JSON string.
    Json.Schema.toJson()
    Return the JSON representation of the schema.
    final Json
    Json.up()
     
    Json.Schema.validate(Json document)
    Validate a JSON document according to this schema.
    Json.with(Json object, Object... options)
    Same as {}@link #with(Json,Json...options)} with each option argument converted to Json first.
    Json.with(Json object, Json[] options)
    Combine this object or array with the passed in object or array.
    Methods in mjson that return types with arguments of type Json
    Modifier and Type
    Method
    Description
    Json.asJsonList()
     
    Json.asJsonMap()
     
    Json.iterator()
     
    Methods in mjson with parameters of type Json
    Modifier and Type
    Method
    Description
    Json.add(Json el)
    Add the specified Json element to this array.
    final Json
    Json.at(String property, Json def)
    Return the specified property of a Json object if it exists.
    void
    Json.attachTo(Json enclosing)
    Explicitly set the parent of this element.
    protected Json
    Json.collectWithOptions(Json... options)
    Return an object representing the complete configuration of a merge.
    Json.remove(Json el)
    Remove the specified element from a Json array.
    static Json
    Json.help.resolvePointer(String pointer, Json element)
    Given a JSON Pointer, as per RFC 6901, return the nested JSON value within the element parameter.
    Json.schema(Json S)
     
    Json.schema(Json S, URI uri)
     
    Json.set(String property, Json value)
    Set a Json objects's property.
    Json.Schema.validate(Json document)
    Validate a JSON document according to this schema.
    Json.with(Json object, Object... options)
    Same as {}@link #with(Json,Json...options)} with each option argument converted to Json first.
    Json.with(Json object, Json[] options)
    Combine this object or array with the passed in object or array.
    Method parameters in mjson with type arguments of type Json
    Modifier and Type
    Method
    Description
    Json.schema(URI uri, Json.Function<URI,Json> relativeReferenceResolver)
     
    Constructors in mjson with parameters of type Json
    Modifier
    Constructor
    Description
    protected
    Json(Json enclosing)
     
  • Uses of Json in org.jgroups.protocols.kubernetes

    Methods in org.jgroups.protocols.kubernetes with parameters of type Json
    Modifier and Type
    Method
    Description
    protected boolean
    Client.podRunning(Json podStatus)
    Helper method to determine if a pod is considered running or not.