Uses of Class
com.sdicons.json.model.JSONValue
-
-
Uses of JSONValue in com.sdicons.json.mapper
Methods in com.sdicons.json.mapper that return JSONValue Modifier and Type Method Description static JSONValue
JSONMapper. toJSON(java.lang.Object aPojo)
Map a POJO to the JSON representation.Methods in com.sdicons.json.mapper with parameters of type JSONValue Modifier and Type Method Description static java.lang.Object
JSONMapper. toJava(JSONValue aValue)
Map a JSON representation to a Java object.static java.lang.Object
JSONMapper. toJava(JSONValue aValue, java.lang.Class aPojoClass)
Map a JSON representation to a Java object.static java.lang.Object
JSONMapper. toJava(JSONValue aValue, java.lang.reflect.ParameterizedType aGenericType)
Map a JSON representation to a Java object. -
Uses of JSONValue in com.sdicons.json.mapper.helper
Methods in com.sdicons.json.mapper.helper that return JSONValue Modifier and Type Method Description JSONValue
ComplexMapperHelper. toJSON(java.lang.Object aPojo)
JSONValue
SimpleMapperHelper. toJSON(java.lang.Object aPojo)
Methods in com.sdicons.json.mapper.helper with parameters of type JSONValue Modifier and Type Method Description java.lang.Object
ComplexMapperHelper. toJava(JSONValue aValue, java.lang.Class aRequestedClass, java.lang.reflect.Type[] aTypes)
java.lang.Object
SimpleMapperHelper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
-
Uses of JSONValue in com.sdicons.json.mapper.helper.impl
Methods in com.sdicons.json.mapper.helper.impl that return JSONValue Modifier and Type Method Description JSONValue
AbstractMapper. toJSON(java.lang.Object aPojo)
JSONValue
ArrayMapper. toJSON(java.lang.Object aObj)
JSONValue
BigDecimalMapper. toJSON(java.lang.Object aPojo)
JSONValue
BigIntegerMapper. toJSON(java.lang.Object aPojo)
JSONValue
BooleanMapper. toJSON(java.lang.Object aPojo)
JSONValue
ByteMapper. toJSON(java.lang.Object aPojo)
JSONValue
CollectionMapper. toJSON(java.lang.Object aPojo)
JSONValue
DateMapper. toJSON(java.lang.Object aPojo)
JSONValue
DoubleMapper. toJSON(java.lang.Object aPojo)
JSONValue
FloatMapper. toJSON(java.lang.Object aPojo)
JSONValue
IntegerMapper. toJSON(java.lang.Object aPojo)
JSONValue
LongMapper. toJSON(java.lang.Object aPojo)
JSONValue
MapMapper. toJSON(java.lang.Object aPojo)
JSONValue
ObjectMapper. toJSON(java.lang.Object aPojo)
JSONValue
ObjectMapperDirect. toJSON(java.lang.Object aPojo)
JSONValue
ShortMapper. toJSON(java.lang.Object aPojo)
Methods in com.sdicons.json.mapper.helper.impl with parameters of type JSONValue Modifier and Type Method Description java.lang.Object
ArrayMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
BigDecimalMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
BigIntegerMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
BooleanMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
ByteMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
CharacterMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
CollectionMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
CollectionMapper. toJava(JSONValue aValue, java.lang.Class aRawClass, java.lang.reflect.Type[] aTypes)
java.lang.Object
DateMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
DoubleMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
EnumMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
FloatMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
IntegerMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
LongMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
MapMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
MapMapper. toJava(JSONValue aValue, java.lang.Class aRawClass, java.lang.reflect.Type[] aTypes)
java.lang.Object
ObjectMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
ObjectMapperDirect. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
ShortMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
java.lang.Object
StringMapper. toJava(JSONValue aValue, java.lang.Class aRequestedClass)
-
Uses of JSONValue in com.sdicons.json.model
Subclasses of JSONValue in com.sdicons.json.model Modifier and Type Class Description class
JSONArray
Represents a JSON array (list), an ordered list of values ...class
JSONBoolean
Represents a JSON boolean value.class
JSONComplex
Superclass of JSON complex types, namelyJSONArray
andJSONObject
.class
JSONDecimal
Represents a JSON float.class
JSONInteger
Represents a JSON int.class
JSONNull
Represents a JSON null value.class
JSONNumber
The parent class of numerical types, beingJSONInteger
andJSONDecimal
.class
JSONObject
Representation of a JSON object, a collection (unordered) of name/value pairs.class
JSONSimple
class
JSONString
Represents a JSON delimited string.Fields in com.sdicons.json.model with type parameters of type JSONValue Modifier and Type Field Description private java.util.List<JSONValue>
JSONArray. array
private java.util.HashMap<java.lang.String,JSONValue>
JSONObject. map
Methods in com.sdicons.json.model that return JSONValue Modifier and Type Method Description static JSONValue
JSONValue. decorate(java.lang.Object anObject)
This method is the reverse of a strip, it converts a construction of Java objects to a JSON decorated composition.JSONValue
JSONArray. get(int i)
Utility method, get an element at a specific position in the list.JSONValue
JSONObject. get(java.lang.String aKey)
Utility method, get the element with specified name without having to retreive the map first using getValue().Methods in com.sdicons.json.model that return types with arguments of type JSONValue Modifier and Type Method Description java.util.List<JSONValue>
JSONArray. getValue()
java.util.HashMap<java.lang.String,JSONValue>
JSONObject. getValue()
-
Uses of JSONValue in com.sdicons.json.parser
Methods in com.sdicons.json.parser that return JSONValue Modifier and Type Method Description JSONValue
JSONParser. nextValue()
Read the next JSON structure from the stream and convert it into a Java model. -
Uses of JSONValue in com.sdicons.json.parser.impl
Methods in com.sdicons.json.parser.impl that return JSONValue Modifier and Type Method Description JSONValue
JSONParserAntlr. atomic(java.lang.String aStreamName)
JSONValue
JSONParserAntlr. value(java.lang.String aStreamName)
-
Uses of JSONValue in com.sdicons.json.validator
Fields in com.sdicons.json.validator declared as JSONValue Modifier and Type Field Description private JSONValue
ValidationException. culprit
Methods in com.sdicons.json.validator that return JSONValue Modifier and Type Method Description JSONValue
ValidationException. getCulprit()
Methods in com.sdicons.json.validator with parameters of type JSONValue Modifier and Type Method Description void
JSONValidator. validate(JSONValue aValue)
Validate a JSON value according to the rules described in the validator rules.void
Validator. validate(JSONValue aValue)
Validate a JSONValue.Constructors in com.sdicons.json.validator with parameters of type JSONValue Constructor Description ValidationException(JSONValue aCulprit, java.lang.String aRule)
ValidationException(java.lang.String aComments, JSONValue aCulprit, java.lang.String aRule)
-
Uses of JSONValue in com.sdicons.json.validator.impl
Methods in com.sdicons.json.validator.impl with parameters of type JSONValue Modifier and Type Method Description static Validator
ValidatorUtil. buildValidator(JSONValue aVal)
static Validator
ValidatorUtil. buildValidator(JSONValue aVal, java.util.HashMap<java.lang.String,Validator> aRuleset)
-
Uses of JSONValue in com.sdicons.json.validator.impl.predicates
Fields in com.sdicons.json.validator.impl.predicates with type parameters of type JSONValue Modifier and Type Field Description private java.util.List<JSONValue>
Enumeration. enumValues
private java.util.List<JSONValue>
Switch.Case. values
Methods in com.sdicons.json.validator.impl.predicates with parameters of type JSONValue Modifier and Type Method Description protected void
Predicate. fail(JSONValue aValue)
protected void
Predicate. fail(java.lang.String aMessage, JSONValue aValue)
boolean
Switch.Case. isApplicable(JSONValue aVal)
void
And. validate(JSONValue aValue)
void
Array. validate(JSONValue aValue)
void
Bool. validate(JSONValue aValue)
void
Complex. validate(JSONValue aValue)
void
Content. validate(JSONValue aValue)
void
CustomPredicate. validate(JSONValue aValue)
void
Decimal. validate(JSONValue aValue)
void
Enumeration. validate(JSONValue aValue)
void
False. validate(JSONValue aValue)
void
Int. validate(JSONValue aValue)
void
Length. validate(JSONValue aValue)
void
Let. validate(JSONValue aValue)
void
Not. validate(JSONValue aValue)
void
Nr. validate(JSONValue aValue)
void
Null. validate(JSONValue aValue)
void
Object. validate(JSONValue aValue)
void
Or. validate(JSONValue aValue)
void
Properties. validate(JSONValue aValue)
void
Range. validate(JSONValue aValue)
void
Ref. validate(JSONValue aValue)
void
Regexp. validate(JSONValue aValue)
void
Simple. validate(JSONValue aValue)
void
Str. validate(JSONValue aValue)
void
Switch. validate(JSONValue aValue)
void
True. validate(JSONValue aValue)
Constructor parameters in com.sdicons.json.validator.impl.predicates with type arguments of type JSONValue Constructor Description Case(Validator validator, java.util.List<JSONValue> values)
-