Package yapion.utils
Class IdentifierUtils
- java.lang.Object
-
- yapion.utils.IdentifierUtils
-
public class IdentifierUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBIG_DECIMAL_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringBIG_INTEGER_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringBYTE_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringCHAR_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringDOUBLE_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringENUM_IDENTIFIERstatic java.lang.StringEXCEPTION_IDENTIFIERThis variable is used in theThrowableSerializer,ExceptionSerializer,RuntimeExceptionSerializerandErrorSerializerfor identifying anThrowable,Exception,RuntimeExceptionandErrorrespectively by itsClass.getTypeName().static java.lang.StringFLOAT_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringINT_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringKEY_IDENTIFIERstatic java.lang.StringLONG_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringMAP_IDENTIFIERThis variable is used in theYAPIONMap.toJSON(AbstractOutput)implementation andYAPIONMap.toJSONLossy(AbstractOutput)for representation of anYAPIONMapas a JSON object.static java.lang.StringPOINTER_IDENTIFIERThis variable is used in theYAPIONPointer.toJSON(AbstractOutput)implementation andYAPIONPointer.toJSONLossy(AbstractOutput)for representation of anYAPIONPointeras a JSON object.static java.lang.StringSHORT_IDENTIFIERThis variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure.static java.lang.StringTYPE_IDENTIFIERThis variable is used in theYAPIONSerializerandYAPIONDeserializerfor identifying anYAPIONObjecttype by itsClass.getTypeName().
-
-
-
Field Detail
-
TYPE_IDENTIFIER
public static final java.lang.String TYPE_IDENTIFIER
This variable is used in theYAPIONSerializerandYAPIONDeserializerfor identifying anYAPIONObjecttype by itsClass.getTypeName(). In the serialization this variable is used as the key of aYAPIONVariableand will be called type variable.- See Also:
- Constant Field Values
-
ENUM_IDENTIFIER
public static final java.lang.String ENUM_IDENTIFIER
This variable is used in theEnumSerializerfor identifying anEnumby itsClass.getTypeName(). In the serialization this variable is used as the key of aYAPIONVariableand will be called enum variable.- See Also:
- Constant Field Values
-
EXCEPTION_IDENTIFIER
public static final java.lang.String EXCEPTION_IDENTIFIER
This variable is used in theThrowableSerializer,ExceptionSerializer,RuntimeExceptionSerializerandErrorSerializerfor identifying anThrowable,Exception,RuntimeExceptionandErrorrespectively by itsClass.getTypeName(). In the serialization this variable is used as the key of aYAPIONVariableand will be called exception variable.- See Also:
- Constant Field Values
-
KEY_IDENTIFIER
public static final java.lang.String KEY_IDENTIFIER
- See Also:
- Constant Field Values
-
POINTER_IDENTIFIER
public static final java.lang.String POINTER_IDENTIFIER
This variable is used in theYAPIONPointer.toJSON(AbstractOutput)implementation andYAPIONPointer.toJSONLossy(AbstractOutput)for representation of anYAPIONPointeras a JSON object. TheJSONMapperuses this variable to identify aYAPIONPointerin the JSON representation.- See Also:
- Constant Field Values
-
MAP_IDENTIFIER
public static final java.lang.String MAP_IDENTIFIER
This variable is used in theYAPIONMap.toJSON(AbstractOutput)implementation andYAPIONMap.toJSONLossy(AbstractOutput)for representation of anYAPIONMapas a JSON object. TheJSONMapperuses this variable to identify aYAPIONMapin the JSON representation.- See Also:
- Constant Field Values
-
BYTE_IDENTIFIER
public static final java.lang.String BYTE_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
SHORT_IDENTIFIER
public static final java.lang.String SHORT_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
CHAR_IDENTIFIER
public static final java.lang.String CHAR_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
INT_IDENTIFIER
public static final java.lang.String INT_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
FLOAT_IDENTIFIER
public static final java.lang.String FLOAT_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
LONG_IDENTIFIER
public static final java.lang.String LONG_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
DOUBLE_IDENTIFIER
public static final java.lang.String DOUBLE_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
BIG_INTEGER_IDENTIFIER
public static final java.lang.String BIG_INTEGER_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
BIG_DECIMAL_IDENTIFIER
public static final java.lang.String BIG_DECIMAL_IDENTIFIER
This variable is used in theYAPIONValue.toJSON(AbstractOutput)implementation for representation of the internal type notice into the JSON structure. TheYAPIONValueis wrapped into an JSON object with one key value pair. The key to this value is this identifier and theJSONMapperwill use this variable to identify a specificYAPIONValuetype in the JSON representation.- See Also:
- Constant Field Values
-
-