Uses of Class
com.clumd.projects.javajson.exceptions.JsonException
-
Uses of JsonException in com.clumd.projects.javajson.api
Methods in com.clumd.projects.javajson.api that throw JsonException Modifier and Type Method Description JsonJsonGenerator. convertToJSON()Convert the current Java Class into a Java-JSON JSON representation of itself.static JsonJsonParser. parse(JsonGenerator jsonable)A pass-through method to convert any object marked as capable of converting itself to JSON, into the JSON equivalent.static JsonJsonParser. parse(String jsonAsString)Parse a single JSON object from String.static JsonJsonParser. parse(String[] jsonAsStringArray)Parse a static array of strings into a single JSON object.static JsonJsonParser. parse(Collection<String> jsonAsStringCollection)Parse a collection of strings into a single JSON object.static List<Json>JsonParser. parseMultipleJSONables(Collection<JsonGenerator> multipleJsonAsGenerators)Parse a collection of Java Objects marked as capable of converting themselves to JSON into a multiple JSON objects.static Set<Json>JsonParser. parseMultipleJSONablesForDistinct(Collection<JsonGenerator> multipleJsonAsGenerators)The same asJsonParser.parseMultipleJSONables(Collection), but any duplicates will be filtered out.static List<Json>JsonParser. parseMultipleStrings(Collection<String> multipleJsonAsStrings)Parse a collection of strings into a multiple JSON objects.static Set<Json>JsonParser. parseMultipleStringsForDistinct(Collection<String> multipleJsonAsStrings)The same asJsonParser.parseMultipleStrings(Collection), but any duplicates will be filtered out. -
Uses of JsonException in com.clumd.projects.javajson.exceptions
Subclasses of JsonException in com.clumd.projects.javajson.exceptions Modifier and Type Class Description classBuildExceptionA class representing all possible exceptions that could occur when creating a JSON object from Java values.classSchemaExceptionA class representing all possible exceptions that could occur when validating a JSON object against a Schema. -
Uses of JsonException in com.clumd.projects.javajson.exceptions.json
Subclasses of JsonException in com.clumd.projects.javajson.exceptions.json Modifier and Type Class Description classJsonKeyExceptionA class representing all possible exceptions that could occur with any JSON key.classJsonParseExceptionA class representing all possible exceptions that could occur when parsing a JSON object.classKeyDifferentTypeExceptionThis exception is used when there was a value found at a given key, but the datatype of the value found was not suitable for the calling method.classKeyInvalidExceptionThis exception is used when a JSON key was malformed in some way.classKeyNotFoundExceptionThis exception is used when the value at some location provided by some key does not exist. -
Uses of JsonException in com.clumd.projects.javajson.exceptions.schema
Subclasses of JsonException in com.clumd.projects.javajson.exceptions.schema Modifier and Type Class Description classInvalidSchemaExceptionThis exception is used when a provided schema, IS valid JSON, but is NOT a valid Schema.classSchemaViolationExceptionThis exception is used validating a JSON object against a schema, a violation of one of the Schema's constraints was found.