- CHAR - Static variable in interface com.sdicons.json.serializer.SerializerValue
-
- CharacterMapper - Class in com.sdicons.json.mapper.helper
-
- CharacterMapper() - Constructor for class com.sdicons.json.mapper.helper.CharacterMapper
-
- CharacterSerializer - Class in com.sdicons.json.serializer.helper
-
- CharacterSerializer() - Constructor for class com.sdicons.json.serializer.helper.CharacterSerializer
-
- ClassHelper - Interface in com.sdicons.json.repository
-
It represents some kind of functionality that is associated with a class.
- ClassHelperRepository<T extends ClassHelper> - Class in com.sdicons.json.repository
-
A Helper is a function that is related to a Java class.
- ClassHelperRepository() - Constructor for class com.sdicons.json.repository.ClassHelperRepository
-
- ClassMapper - Interface in com.sdicons.json.mapper.helper
-
It is a ClassHelper which knows how to map the instances of a range of classes from JSON to Java and vice versa.
- ClassSerializer - Interface in com.sdicons.json.serializer.helper
-
A helper can render an instance of a specific class in a custom way.
- CollectionMapper - Class in com.sdicons.json.mapper.helper
-
- CollectionMapper() - Constructor for class com.sdicons.json.mapper.helper.CollectionMapper
-
- CollectionSerializer - Class in com.sdicons.json.serializer.helper
-
- CollectionSerializer() - Constructor for class com.sdicons.json.serializer.helper.CollectionSerializer
-
- ColorSerializer - Class in com.sdicons.json.serializer.helper
-
- ColorSerializer() - Constructor for class com.sdicons.json.serializer.helper.ColorSerializer
-
- com.sdicons.json.annotations - package com.sdicons.json.annotations
-
Annotations that give hints to the mapper, the serializer or other tools on how to handle instances of this class.
- com.sdicons.json.mapper - package com.sdicons.json.mapper
-
Mapping Java domain classes to the JSON domain so that the generated JSON is nice and clean.
- com.sdicons.json.mapper.helper - package com.sdicons.json.mapper.helper
-
All the specialized mappers that know how to map instances of a specific class.
- com.sdicons.json.model - package com.sdicons.json.model
-
The JSON model.
- com.sdicons.json.parser - package com.sdicons.json.parser
-
Reading files, streams and Strings containing JSON text.
- com.sdicons.json.repository - package com.sdicons.json.repository
-
A system to group class helpers, look up the best helper for a class.
- com.sdicons.json.serializer - package com.sdicons.json.serializer
-
Serializing Java instances to JSON domain objects together with all
type info and structure so that we can restore the Java model in its
original form.
- com.sdicons.json.serializer.helper - package com.sdicons.json.serializer.helper
-
All specialized serializers that know how to serialize the instances for
specific classes.
- com.sdicons.json.validator - package com.sdicons.json.validator
-
Validating a JSON model with validation rules.
- com.sdicons.json.validator.predicates - package com.sdicons.json.validator.predicates
-
The building blocks to create validation expressions.
- Complex - Class in com.sdicons.json.validator.predicates
-
A predicate to check if a JSON value is a JSONObject or a JSONArray.
- Complex(String) - Constructor for class com.sdicons.json.validator.predicates.Complex
-
- complex(String) - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Create a named
Complex
validator to check if a value is
an array or an object.
- complex() - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Create an anonymus
Complex
validator to check if a value is
an array or an object.
- ComplexClassMapper - Interface in com.sdicons.json.mapper.helper
-
The ComplexClassMapper can make use of extra type information from generic declarations.
- containsKey(String) - Method in class com.sdicons.json.model.JSONObject
-
- Content - Class in com.sdicons.json.validator.predicates
-
A predicate that checks if all elements of a complex JSON structure JSONObject or
JSONArray comply to another named predicate.
- Content(String, JSONObject, HashMap<String, Validator>) - Constructor for class com.sdicons.json.validator.predicates.Content
-
- Content(String, Validator) - Constructor for class com.sdicons.json.validator.predicates.Content
-
- content(String, Validator) - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Create a named
Content
validator that puts constraints on
the contents of an array or an object.
- content(Validator) - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Create an anonymous
Content
validator that puts constraints on
the contents of an array or an object.
- createRule(String, String) - Static method in class com.sdicons.json.validator.ValidatorUtil
-
- CustomPredicate - Class in com.sdicons.json.validator.predicates
-
A predicate that uses a Java implementation of CustomValidator.
- CustomPredicate(String, JSONObject, Map<String, Validator>) - Constructor for class com.sdicons.json.validator.predicates.CustomPredicate
-
- CustomValidator - Class in com.sdicons.json.validator.predicates
-
The super class of all custom Java validators.
- CustomValidator(String, JSONObject, HashMap<String, Validator>) - Constructor for class com.sdicons.json.validator.predicates.CustomValidator
-
- get(int) - Method in class com.sdicons.json.model.JSONArray
-
Utility method, get an element at a specific position in the list.
- get(String) - Method in class com.sdicons.json.model.JSONObject
-
Utility method, get the element with specified name without having to
retrieve the map first using getValue().
- getAnnotatedConstructor(Class<?>) - Method in class com.sdicons.json.mapper.helper.ObjectMapperFields
-
- getAnnotatedConstructor(Class<?>) - Method in class com.sdicons.json.serializer.helper.ObjectSerializerFields
-
- getAnnotatedMethods(Class<?>) - Method in class com.sdicons.json.mapper.helper.ObjectMapperFields
-
- getAnnotatedMethods(Class<?>) - Method in class com.sdicons.json.serializer.helper.ObjectSerializerFields
-
- getAnnotatedSerializingMethod(Class<?>) - Method in class com.sdicons.json.mapper.helper.ObjectMapperFields
-
- getAnnotatedSerializingMethod(Class<?>) - Method in class com.sdicons.json.serializer.helper.ObjectSerializerFields
-
- getBoolean() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive boolean value.
- getBoolean() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getByte() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive byte value.
- getByte() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getChar() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive char value.
- getChar() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getCol() - Method in class com.sdicons.json.model.JSONValue
-
Get the column number in the textual representation where this JSON value was encountered.
- getColumn() - Method in exception com.sdicons.json.parser.ParserException
-
- getData() - Method in class com.sdicons.json.model.JSONValue
-
Get user data.
- getDouble() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive double value.
- getDouble() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getFieldInfo(Class<?>) - Method in class com.sdicons.json.mapper.helper.ObjectMapperFields
-
- getFieldInfo(Class<?>) - Method in class com.sdicons.json.serializer.helper.ObjectSerializerFields
-
- getFloat() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive float value.
- getFloat() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.ArrayMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.BigDecimalMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.BigIntegerMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.BooleanMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.ByteMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.CharacterMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.CollectionMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.DateMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.DoubleMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.EnumMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.FloatMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.IntegerMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.LongMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.MapMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.ObjectMapperFields
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.ObjectMapperMeta
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.ObjectMapperProps
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.ShortMapper
-
- getHelpedClass() - Method in class com.sdicons.json.mapper.helper.StringMapper
-
- getHelpedClass() - Method in interface com.sdicons.json.repository.ClassHelper
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ArraySerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.BigDecimalSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.BigIntegerSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.BooleanSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ByteSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.CharacterSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.CollectionSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ColorSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.DateSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.DoubleSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.EnumSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.FloatSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.FontSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.IntegerSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.LongSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.MapSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ObjectSerializerFields
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ObjectSerializerMeta
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ObjectSerializerProps
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.ShortSerializer
-
- getHelpedClass() - Method in class com.sdicons.json.serializer.helper.StringSerializer
-
- getInt() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive int value.
- getInt() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getKey() - Method in class com.sdicons.json.validator.predicates.Properties.PropRule
-
- getLine() - Method in class com.sdicons.json.model.JSONValue
-
Get the line number in the textual representation where this JSON value was encountered.
- getLine() - Method in exception com.sdicons.json.parser.ParserException
-
- getLong() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive long value.
- getLong() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getMappingOption(String, Object) - Method in class com.sdicons.json.mapper.JSONMapper
-
Get the value of a mapping option.
- getMessage() - Method in exception com.sdicons.json.parser.ParserException
-
- getName() - Method in class com.sdicons.json.validator.predicates.Predicate
-
- getReference() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the reference to a Java object.
- getReference() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getRule() - Method in class com.sdicons.json.validator.predicates.Properties.PropRule
-
- getRule(String) - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Get a named validator that was previously built using this builder.
- getRuleset() - Method in class com.sdicons.json.validator.predicates.CustomValidator
-
- getSerializeOption(String, Object) - Method in class com.sdicons.json.serializer.JSONSerializer
-
- getShort() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the primitive short value.
- getShort() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getStreamName() - Method in class com.sdicons.json.model.JSONValue
-
Get information about the stream in which the value occurred.
- getStreamName() - Method in exception com.sdicons.json.parser.ParserException
-
- getType() - Method in interface com.sdicons.json.serializer.SerializerValue
-
Get the type of the value so that you can access its value safely.
- getType() - Method in class com.sdicons.json.serializer.SerializerValueImpl
-
- getValidator() - Method in class com.sdicons.json.validator.predicates.Switch.SwitchCase
-
- getValue() - Method in class com.sdicons.json.model.JSONArray
-
- getValue() - Method in class com.sdicons.json.model.JSONBoolean
-
- getValue() - Method in class com.sdicons.json.model.JSONDecimal
-
- getValue() - Method in class com.sdicons.json.model.JSONInteger
-
- getValue() - Method in class com.sdicons.json.model.JSONObject
-
- getValue() - Method in class com.sdicons.json.model.JSONString
-
- INT - Static variable in interface com.sdicons.json.serializer.SerializerValue
-
- Int - Class in com.sdicons.json.validator.predicates
-
A predicate to check if a JSON value is an integer or not.
- Int(String) - Constructor for class com.sdicons.json.validator.predicates.Int
-
- IntegerMapper - Class in com.sdicons.json.mapper.helper
-
- IntegerMapper() - Constructor for class com.sdicons.json.mapper.helper.IntegerMapper
-
- IntegerSerializer - Class in com.sdicons.json.serializer.helper
-
- IntegerSerializer() - Constructor for class com.sdicons.json.serializer.helper.IntegerSerializer
-
- intp(String) - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Create a named
Int
validation rule.
- intp() - Method in class com.sdicons.json.validator.ValidatorBuilder
-
Create an anonymous
Int
validation rule.
- isApplicable(JSONValue) - Method in class com.sdicons.json.validator.predicates.Switch.SwitchCase
-
- isArray() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents an array.
- isBoolean() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents a JSON boolean value.
- isComplex() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents a "complex" value, meaning:
an array, an object.
- isDecimal() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value is a decimal.
- isInteger() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value is an integer.
- isNull() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents a JSON null value.
- isNumber() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value is a number, meaning:
an integer or a decimal.
- isObject() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents a JSON object.
- isOptional() - Method in class com.sdicons.json.validator.predicates.Properties.PropRule
-
- isSimple() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents a "simple" value, meaning:
a boolean, a number, a string or null.
- isString() - Method in class com.sdicons.json.model.JSONValue
-
Check if this value represents a JSON string.
- JSONArray - Class in com.sdicons.json.model
-
Represents a JSON array (list), an ordered list of values ...
- JSONArray() - Constructor for class com.sdicons.json.model.JSONArray
-
- JSONArray(Collection<JSONValue>) - Constructor for class com.sdicons.json.model.JSONArray
-
- JSONBoolean - Class in com.sdicons.json.model
-
Represents a JSON boolean value.
- JSONBoolean(boolean) - Constructor for class com.sdicons.json.model.JSONBoolean
-
- JSONComplex - Class in com.sdicons.json.model
-
- JSONComplex() - Constructor for class com.sdicons.json.model.JSONComplex
-
- JSONConstructor - Annotation Type in com.sdicons.json.annotations
-
Annotate the constructor of the JavaBean that has to be used by the mapper
or the serializer to instantiate the bean.
- JSONConstructorArgs - Annotation Type in com.sdicons.json.annotations
-
Annotate the method in the JavaBean that generates the Object array that
will be used in the
JSONConstructor
annotated method.
- JSONDecimal - Class in com.sdicons.json.model
-
Represents a JSON float.
- JSONDecimal(BigDecimal) - Constructor for class com.sdicons.json.model.JSONDecimal
-
- JSONInteger - Class in com.sdicons.json.model
-
Represents a JSON int.
- JSONInteger(BigInteger) - Constructor for class com.sdicons.json.model.JSONInteger
-
- JSONMapper - Class in com.sdicons.json.mapper
-
The mapper class is able to convert a JSON representation to/from a Java
representation.
- JSONMapper(ClassMapper...) - Constructor for class com.sdicons.json.mapper.JSONMapper
-
- JSONMapper() - Constructor for class com.sdicons.json.mapper.JSONMapper
-
- JSONNull - Class in com.sdicons.json.model
-
Represents a JSON null value.
- JSONNull() - Constructor for class com.sdicons.json.model.JSONNull
-
- JSONNumber - Class in com.sdicons.json.model
-
- JSONNumber() - Constructor for class com.sdicons.json.model.JSONNumber
-
- JSONObject - Class in com.sdicons.json.model
-
Representation of a JSON object, a collection (unordered) of name/value pairs.
- JSONObject() - Constructor for class com.sdicons.json.model.JSONObject
-
- JSONParser - Class in com.sdicons.json.parser
-
Reads JSON text and convert it into a Java model for further handling.
- JSONParser(InputStream, String) - Constructor for class com.sdicons.json.parser.JSONParser
-
Construct a parser using a stream.
- JSONParser(InputStream) - Constructor for class com.sdicons.json.parser.JSONParser
-
Construct a parser using a stream.
- JSONParser(Reader, String) - Constructor for class com.sdicons.json.parser.JSONParser
-
Construct a parser using a reader.
- JSONParser(Reader) - Constructor for class com.sdicons.json.parser.JSONParser
-
Construct a parser using a reader.
- JSONParser(String) - Constructor for class com.sdicons.json.parser.JSONParser
-
- JSONSerializer - Class in com.sdicons.json.serializer
-
Convert a JSON representation to/from a
Java representation.
- JSONSerializer() - Constructor for class com.sdicons.json.serializer.JSONSerializer
-
- JSONSerializer(ClassSerializer...) - Constructor for class com.sdicons.json.serializer.JSONSerializer
-
- JSONSimple - Class in com.sdicons.json.model
-
- JSONSimple() - Constructor for class com.sdicons.json.model.JSONSimple
-
- JSONString - Class in com.sdicons.json.model
-
Represents a JSON delimited string.
- JSONString(String) - Constructor for class com.sdicons.json.model.JSONString
-
- JSONValidator - Class in com.sdicons.json.validator
-
A validator that accepts a validator description in JSON format.
- JSONValidator(JSONObject) - Constructor for class com.sdicons.json.validator.JSONValidator
-
Construct the validator based on the JSON description.
- JSONValue - Class in com.sdicons.json.model
-
Base class for all JSON representations.
- JSONValue() - Constructor for class com.sdicons.json.model.JSONValue
-