Skip navigation links
A C D E G J M P R S T V 

A

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 4627 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 4627 JSON values (except numbers) have been concatenated together for deserilization which will be collectively returned in a JsonArray wrapper.

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.

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 4627) 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(String) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Formats the JSON string to be more easily human readable using tabs for indentation.
prettyPrint(String, int) - Static method in class com.github.cliftonlabs.json_simple.Jsoner
Formats the JSON string to be more easily human readable using an arbitrary amount of spaces for indentation.

R

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 4627 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 4627 JSON specification.

T

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

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 J M P R S T V 
Skip navigation links

Copyright © 2018. All rights reserved.