A C D E G I J M P R S T U V 
All Classes All Packages

A

addAllChain(int, Collection<?>) - Method in class com.github.cliftonlabs.json_simple.JsonArray
Calls add for the given index and collection, but returns the JsonArray for chaining calls.
addAllChain(Collection<?>) - Method in class com.github.cliftonlabs.json_simple.JsonArray
Calls add for the given collection of elements, but returns the JsonArray for chaining calls.
addChain(int, Object) - Method in class com.github.cliftonlabs.json_simple.JsonArray
Calls add for the given element, but returns the JsonArray for chaining calls.
addChain(Object) - Method in class com.github.cliftonlabs.json_simple.JsonArray
Calls add for the given element, but returns the JsonArray for chaining calls.
asCollection(Collection<T>) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes every element of the JsonArray is castable to T before adding it to a collection of Ts.

C

com.github.cliftonlabs.json_simple - package com.github.cliftonlabs.json_simple
 

D

deserialize(Reader) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Deserializes a readable stream according to the RFC 7159 JSON specification.
deserialize(String) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
A convenience method that assumes a StringReader to deserialize a string.
deserialize(String, JsonArray) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
A convenience method that assumes a JsonArray must be deserialized.
deserialize(String, JsonObject) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
A convenience method that assumes a JsonObject must be deserialized.
deserializeMany(Reader) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
A convenience method that assumes multiple RFC 7159 JSON values (except numbers) have been concatenated together for deserilization which will be collectively returned in a JsonArray wrapper.
DISALLOWED_TOKEN - com.github.cliftonlabs.json_simple.JsonException.Problems
 

E

escape(String) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Escapes potentially confusing or important characters in the String provided.

G

getBigDecimal(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a BigDecimal, Number, or String at the given index.
getBigDecimal(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a BigDecimal, Number, or String at the given key.
getBigDecimalOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a BigDecimal, Number, or String at the given key.
getBoolean(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Boolean or String value at the given index.
getBoolean(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Boolean or String value at the given key.
getBooleanOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Boolean or String value at the given key.
getByte(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Number or String value at the given index.
getByte(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getByteOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getCollection(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Collection value at the given index.
getCollection(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Collection at the given key.
getCollectionOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Collection at the given key.
getDouble(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Number or String value at the given index.
getDouble(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getDoubleOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getFloat(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Number or String value at the given index.
getFloat(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getFloatOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getInteger(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Number or String value at the given index.
getInteger(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getIntegerOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getKey() - Method in interface com.github.cliftonlabs.json_simple.JsonKey
The json-simple library uses a String for its keys.
getLong(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Number or String value at the given index.
getLong(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getLongOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getMap(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Map value at the given index.
getMap(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Map at the given key.
getMapOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Map at the given key.
getMessage() - Method in exception com.github.cliftonlabs.json_simple.JsonException
 
getPosition() - Method in exception com.github.cliftonlabs.json_simple.JsonException
Helps debug the location of a problem.
getProblemType() - Method in exception com.github.cliftonlabs.json_simple.JsonException
Helps find an appropriate solution for a problem.
getShort(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Number or String value at the given index.
getShort(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getShortOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Number or String value at the given key.
getString(int) - Method in class com.github.cliftonlabs.json_simple.JsonArray
A convenience method that assumes there is a Boolean, Number, or String value at the given index.
getString(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Boolean, Number, or String value at the given key.
getStringOrDefault(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
A convenience method that assumes there is a Boolean, Number, or String value at the given key.
getUnexpectedObject() - Method in exception com.github.cliftonlabs.json_simple.JsonException
Helps identify the problem.
getValue() - Method in interface com.github.cliftonlabs.json_simple.JsonKey
A reasonable value for the key; such as a valid default, error value, or null.

I

IOEXCEPTION - com.github.cliftonlabs.json_simple.JsonException.Problems
 

J

Jsonable - Interface in com.github.cliftonlabs.json_simple
Jsonables can be serialized in java script object notation (JSON).
JsonArray - Class in com.github.cliftonlabs.json_simple
JsonArray is a common non-thread safe data format for a collection of data.
JsonArray() - Constructor for class com.github.cliftonlabs.json_simple.JsonArray
Instantiates an empty JsonArray.
JsonArray(Collection<?>) - Constructor for class com.github.cliftonlabs.json_simple.JsonArray
Instantiate a new JsonArray using ArrayList's constructor of the same type.
Jsoner - Class in com.github.cliftonlabs.json_simple
Jsoner provides JSON utilities for escaping strings to be JSON compatible, thread safe parsing (RFC 7159) JSON strings, and thread safe serializing data to strings in JSON format.
JsonException - Exception in com.github.cliftonlabs.json_simple
JsonException explains how and where the problem occurs in the source JSON text during deserialization.
JsonException(int, JsonException.Problems, Object) - Constructor for exception com.github.cliftonlabs.json_simple.JsonException
Instantiates a JsonException without assumptions.
JsonException.Problems - Enum in com.github.cliftonlabs.json_simple
The kinds of exceptions that can trigger a JsonException.
JsonKey - Interface in com.github.cliftonlabs.json_simple
Represents the key of a JsonObject.
JsonObject - Class in com.github.cliftonlabs.json_simple
JsonObject is a common non-thread safe data format for string to data mappings.
JsonObject() - Constructor for class com.github.cliftonlabs.json_simple.JsonObject
Instantiates an empty JsonObject.
JsonObject(Map<String, ?>) - Constructor for class com.github.cliftonlabs.json_simple.JsonObject
Instantiate a new JsonObject by accepting a map's entries, which could lead to de/serialization issues of the resulting JsonObject since the entry values aren't validated as JSON values.

M

mintJsonKey(String, Object) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Creates a new JsonKey that wraps the given string and value.

P

prettyPrint(Reader, Writer, String, String) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Makes the JSON input more easily human readable using indentation and newline of the caller's choice.
prettyPrint(String) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
A convenience method to pretty print a String with tabs ("\t") and "\n" for newlines.
prettyPrint(String, int) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Deprecated.
3.1.0 in favor of Jsoner#prettyPrint(Reader, Writer, String, String) due to arbitrary limitations enforced by this implementation.
put(JsonKey, Object) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Convenience method that calls put for the given key and value.
putAllChain(Map<String, Object>) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Calls putAll for the given map, but returns the JsonObject for chaining calls.
putChain(JsonKey, Object) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Convenience method that calls put for the given key and value, but returns the JsonObject for chaining calls.
putChain(String, Object) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Calls put for the given key and value, but returns the JsonObject for chaining calls.

R

remove(JsonKey) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Convenience method that calls remove for the given key.
remove(JsonKey, Object) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Convenience method that calls remove for the given key and value.
requireKeys(JsonKey...) - Method in class com.github.cliftonlabs.json_simple.JsonObject
Ensures the given keys are present.

S

serialize(Object) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
A convenience method that assumes a StringWriter.
serialize(Object, Writer) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Serializes values according to the RFC 7159 JSON specification.
serializeCarelessly(Object, Writer) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Serializes like the first version of this library.
serializeStrictly(Object, Writer) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Serializes JSON values and only JSON values according to the RFC 7159 JSON specification.

T

toJson() - Method in interface com.github.cliftonlabs.json_simple.Jsonable
Serialize to a JSON formatted string.
toJson() - Method in class com.github.cliftonlabs.json_simple.JsonArray
 
toJson() - Method in class com.github.cliftonlabs.json_simple.JsonObject
 
toJson(Writer) - Method in interface com.github.cliftonlabs.json_simple.Jsonable
Serialize to a JSON formatted stream.
toJson(Writer) - Method in class com.github.cliftonlabs.json_simple.JsonArray
 
toJson(Writer) - Method in class com.github.cliftonlabs.json_simple.JsonObject
 

U

UNEXPECTED_CHARACTER - com.github.cliftonlabs.json_simple.JsonException.Problems
 
UNEXPECTED_EXCEPTION - com.github.cliftonlabs.json_simple.JsonException.Problems
 
UNEXPECTED_TOKEN - com.github.cliftonlabs.json_simple.JsonException.Problems
 

V

valueOf(String) - Static method in enum com.github.cliftonlabs.json_simple.JsonException.Problems
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.cliftonlabs.json_simple.JsonException.Problems
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G I J M P R S T U V 
All Classes All Packages