Skip navigation links
A B C D E F G I J N O P R S U V W 

A

addObjectAttribute(String) - Method in class net.lecousin.framework.json.JSONWriter
Start a new object attribute, with its name followed by a semicolon.
addObjectAttribute(String, boolean) - Method in class net.lecousin.framework.json.JSONWriter
Add a boolean attribute to the current object.
addObjectAttribute(String, Number) - Method in class net.lecousin.framework.json.JSONWriter
Add a number attribute to the current object.
addObjectAttribute(String, String) - Method in class net.lecousin.framework.json.JSONWriter
Add a string attribute to the current object.

B

back() - Method in class net.lecousin.framework.json.JSONDeserializer
 
bool - Variable in class net.lecousin.framework.json.JSONReaderAsync
 
bout - Variable in class net.lecousin.framework.json.JSONSerializer
 
bout - Variable in class net.lecousin.framework.json.JSONSpecWriter
 
bufferSize - Variable in class net.lecousin.framework.json.JSONSerializer
 
bufferSize - Variable in class net.lecousin.framework.json.JSONSpecWriter
 

C

closeArray() - Method in class net.lecousin.framework.json.JSONWriter
Close an array (]).
closeObject() - Method in class net.lecousin.framework.json.JSONWriter
Close a JSON object (}).

D

deserializeBooleanValue(boolean) - Method in class net.lecousin.framework.json.JSONDeserializer
 
deserializeCollectionValueElement(SerializationContext.CollectionContext, int, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONDeserializer
 
deserializeIOReadableAttributeValue(SerializationContext.AttributeContext, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONDeserializer
 
deserializeIOReadableValue(SerializationContext, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONDeserializer
 
deserializeNumericValue(Class<?>, boolean, Class<? extends IntegerUnit>) - Method in class net.lecousin.framework.json.JSONDeserializer
 
deserializeObjectAttributeName(SerializationContext.ObjectContext) - Method in class net.lecousin.framework.json.JSONDeserializer
 
deserializeStringValue() - Method in class net.lecousin.framework.json.JSONDeserializer
 

E

encoding - Variable in class net.lecousin.framework.json.JSONDeserializer
 
encoding - Variable in class net.lecousin.framework.json.JSONSerializer
 
encoding - Variable in class net.lecousin.framework.json.JSONSpecWriter
 
endCollectionValue(SerializationContext.CollectionContext, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
endCollectionValueElement(SerializationContext.CollectionContext, Object, int, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
endObjectValue(SerializationContext.ObjectContext, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
endString() - Method in class net.lecousin.framework.json.JSONWriter
End a string by closing double quotes.
error(String) - Method in class net.lecousin.framework.json.JSONReaderAsync
Creates a JSONParsingException.
errorReadingJSON(Throwable) - Static method in exception net.lecousin.framework.json.JSONDeserializationException
Error reading JSON.
escape(CharSequence) - Static method in class net.lecousin.framework.json.JSONWriter
Escape a string to be written in JSON.
event - Variable in class net.lecousin.framework.json.JSONReaderAsync
 
eventBack - Variable in class net.lecousin.framework.json.JSONDeserializer
 

F

finalizeDeserialization() - Method in class net.lecousin.framework.json.JSONDeserializer
 
finalizeSerialization() - Method in class net.lecousin.framework.json.JSONSerializer
 
finalizeSpecWriter() - Method in class net.lecousin.framework.json.JSONSpecWriter
 
flush() - Method in class net.lecousin.framework.json.JSONWriter
Flush any pending output.

G

getMaximumTextSize() - Method in class net.lecousin.framework.json.JSONReaderAsync
 

I

initializeDeserialization(IO.Readable) - Method in class net.lecousin.framework.json.JSONDeserializer
 
initializeSerialization(IO.Writable) - Method in class net.lecousin.framework.json.JSONSerializer
 
initializeSpecWriter(IO.Writable) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
input - Variable in class net.lecousin.framework.json.JSONDeserializer
 
instantiationError(Throwable) - Static method in exception net.lecousin.framework.json.JSONDeserializationException
Error instantiating a type.

J

JSONDeserializationException - Exception in net.lecousin.framework.json
Error during JSON Deserialization.
JSONDeserializationException(String) - Constructor for exception net.lecousin.framework.json.JSONDeserializationException
Constructor.
JSONDeserializationException(String, Throwable) - Constructor for exception net.lecousin.framework.json.JSONDeserializationException
Constructor.
JSONDeserializer - Class in net.lecousin.framework.json
JSON Deserializer.
JSONDeserializer() - Constructor for class net.lecousin.framework.json.JSONDeserializer
Constructor.
JSONDeserializer(Charset) - Constructor for class net.lecousin.framework.json.JSONDeserializer
Constructor.
JSONParser - Class in net.lecousin.framework.json
Parse a JSON value from a character stream.

The returned object may be one of: A Map<String, Object> for an object structure A List<Object> for an array A String A Number A Boolean null Any spaces at the beginning of the stream are ignored.
JSONParser(ICharacterStream.Readable.Buffered, byte) - Constructor for class net.lecousin.framework.json.JSONParser
Constructor.
JSONParsingException - Exception in net.lecousin.framework.json
Error while parsing a JSON value.
JSONParsingException(String) - Constructor for exception net.lecousin.framework.json.JSONParsingException
Constructor.
JSONParsingException(String, Throwable) - Constructor for exception net.lecousin.framework.json.JSONParsingException
Constructor.
JSONReaderAsync - Class in net.lecousin.framework.json
Asynchronous JSON parser, streaming parsing events in a similar way as XMLStreamEventsAsync.
JSONReaderAsync(IO.Readable, Charset) - Constructor for class net.lecousin.framework.json.JSONReaderAsync
Constructor.
JSONReaderAsync(IO.Readable.Buffered, Charset) - Constructor for class net.lecousin.framework.json.JSONReaderAsync
Constructor.
JSONReaderAsync(ICharacterStream.Readable.Buffered) - Constructor for class net.lecousin.framework.json.JSONReaderAsync
Constructor.
JSONReaderAsync(BufferedReadableCharacterStreamLocation) - Constructor for class net.lecousin.framework.json.JSONReaderAsync
Constructor.
JSONReaderAsync.EventType - Enum in net.lecousin.framework.json
Type of events.
JSONSerializer - Class in net.lecousin.framework.json
Serialize an object into JSON.
JSONSerializer() - Constructor for class net.lecousin.framework.json.JSONSerializer
Constructor.
JSONSerializer(Charset, boolean) - Constructor for class net.lecousin.framework.json.JSONSerializer
Constructor.
JSONSerializer(Charset, int, boolean) - Constructor for class net.lecousin.framework.json.JSONSerializer
Constructor.
JSONSpecWriter - Class in net.lecousin.framework.json
Generate JSON schema (http://json-schema.org/).
JSONSpecWriter() - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructor.
JSONSpecWriter(boolean) - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructor.
JSONSpecWriter(Charset) - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructor.
JSONSpecWriter(Charset, boolean) - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructor.
JSONSpecWriter(Charset, int) - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructor.
JSONSpecWriter(Charset, int, boolean) - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructor.
JSONSpecWriter(JSONWriter) - Constructor for class net.lecousin.framework.json.JSONSpecWriter
Constructo.
JSONWriter - Class in net.lecousin.framework.json
Generates a JSON structure.
JSONWriter(IO.Writable.Buffered, boolean) - Constructor for class net.lecousin.framework.json.JSONWriter
Constructor.
JSONWriter(IO.Writable.Buffered, Charset, boolean) - Constructor for class net.lecousin.framework.json.JSONWriter
Constructor.
JSONWriter(ICharacterStream.Writable.Buffered, boolean) - Constructor for class net.lecousin.framework.json.JSONWriter
Constructor.

N

net.lecousin.framework.json - package net.lecousin.framework.json
JSON parser, serializer and deserializer.
next() - Method in class net.lecousin.framework.json.JSONReaderAsync
Read the next event.
nextEvent() - Method in class net.lecousin.framework.json.JSONDeserializer
 
number - Variable in class net.lecousin.framework.json.JSONReaderAsync
A BigInteger or a BigDecimal.

O

openArray() - Method in class net.lecousin.framework.json.JSONWriter
Open an array ([).
openObject() - Method in class net.lecousin.framework.json.JSONWriter
Open a JSON object ({).
output - Variable in class net.lecousin.framework.json.JSONSerializer
 
output - Variable in class net.lecousin.framework.json.JSONSpecWriter
 

P

parse(ICharacterStream.Readable.Buffered, byte) - Static method in class net.lecousin.framework.json.JSONParser
Utility method to parse a JSON structure.
pretty - Variable in class net.lecousin.framework.json.JSONSerializer
 
pretty - Variable in class net.lecousin.framework.json.JSONSpecWriter
 

R

run() - Method in class net.lecousin.framework.json.JSONParser
 

S

serializeBooleanAttribute(SerializationContext.AttributeContext, boolean, String) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeBooleanValue(boolean) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeCharacterAttribute(SerializationContext.AttributeContext, char, String) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeCharacterValue(char) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeCollectionAttribute(SerializationContext.CollectionContext, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeIOReadableAttribute(SerializationContext.AttributeContext, IO.Readable, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeIOReadableValue(SerializationContext, IO.Readable, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeNullAttribute(SerializationContext.AttributeContext, String) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeNullValue() - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeNumericAttribute(SerializationContext.AttributeContext, Number, String) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeNumericValue(Number) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeObjectAttribute(SerializationContext.AttributeContext, Object, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeStringAttribute(SerializationContext.AttributeContext, CharSequence, String) - Method in class net.lecousin.framework.json.JSONSerializer
 
serializeStringValue(CharSequence) - Method in class net.lecousin.framework.json.JSONSerializer
 
setMaximumTextSize(int) - Method in class net.lecousin.framework.json.JSONDeserializer
 
setMaximumTextSize(int) - Method in class net.lecousin.framework.json.JSONReaderAsync
 
specifyAnyValue(SerializationContext) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyBooleanValue(SerializationContext, boolean) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyCharacterValue(SerializationContext, boolean) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyCollectionValue(SerializationContext.CollectionContext, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyEnumValue(SerializationContext, TypeDefinition) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyIOReadableValue(SerializationContext, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyNumericValue(SerializationContext, Class<?>, boolean, Number, Number) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyStringValue(SerializationContext, TypeDefinition) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyTypeAttribute(SerializationContext.AttributeContext, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
specifyTypedValue(SerializationContext.ObjectContext, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSpecWriter
 
startCollectionValue() - Method in class net.lecousin.framework.json.JSONDeserializer
 
startCollectionValue(SerializationContext.CollectionContext, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
startCollectionValueElement(SerializationContext.CollectionContext, Object, int, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
startNextArrayElement() - Method in class net.lecousin.framework.json.JSONWriter
Start a new element in an array, writing a comma if a previous element is present.
startObjectValue(SerializationContext, TypeDefinition, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONDeserializer
 
startObjectValue(SerializationContext.ObjectContext, String, List<SerializationRule>) - Method in class net.lecousin.framework.json.JSONSerializer
 
startString() - Method in class net.lecousin.framework.json.JSONWriter
Start a string by opening double quotes.
string - Variable in class net.lecousin.framework.json.JSONReaderAsync
Contains the attribute name with START_ATTRIBUTE, or string value with STRING event, or the numeric value as string with NUMBER event.

U

unexpected(String, String) - Static method in exception net.lecousin.framework.json.JSONDeserializationException
Unexpected thing found.
unexpectedCharacter(char, String) - Static method in exception net.lecousin.framework.json.JSONParsingException
Unexpected character.
unexpectedNull(String) - Static method in exception net.lecousin.framework.json.JSONDeserializationException
Unexpected null found.
unexpectedValue(String) - Static method in exception net.lecousin.framework.json.JSONDeserializationException
Unexpected value found.

V

valueOf(String) - Static method in enum net.lecousin.framework.json.JSONReaderAsync.EventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lecousin.framework.json.JSONReaderAsync.EventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeBoolean(boolean) - Method in class net.lecousin.framework.json.JSONWriter
Write a boolean.
writeNull() - Method in class net.lecousin.framework.json.JSONWriter
Write null.
writeNumber(Number) - Method in class net.lecousin.framework.json.JSONWriter
Write a number.
writeString(CharSequence) - Method in class net.lecousin.framework.json.JSONWriter
Write a string between double quotes.
writeStringContent(CharSequence) - Method in class net.lecousin.framework.json.JSONWriter
Write a part of a string content.
A B C D E F G I J N O P R S U V W 
Skip navigation links

Copyright © 2019. All rights reserved.