All Downloads are FREE. Search and download functionalities are using the official Maven repository.

delight.json.JSONObject Maven / Gradle / Ivy

The newest version!
package delight.json;

public abstract class JSONObject extends JSON {

    /**
     * 

* Add a new entry to this JSON. *

* Note that value may be another {@link JSON} instance. * * @param key * The key for the value. * @param value * Value for the key. Can be a generic object, a string, or an * instance of {@link JSON} or {@link JSONArray} * */ public abstract JSONObject add(String key, Object value); /** * * @return The rendered string representation of this JSON document. */ @Override public abstract String render(); /** * * @param indentSize * Defines how many spaces are to be inserted at the beginning of * ever line. * @return The rendered string representation of this JSON document. */ @Override public abstract String render(int indentSize); /** *

* Prints this document to standard out. */ }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy