Package com.jsoniter.spi
Class OmitValue.Parsed
- java.lang.Object
-
- com.jsoniter.spi.OmitValue.Parsed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jsoniter.spi.OmitValue
OmitValue.False, OmitValue.Null, OmitValue.Parsed, OmitValue.ZeroByte, OmitValue.ZeroChar, OmitValue.ZeroDouble, OmitValue.ZeroFloat, OmitValue.ZeroInt, OmitValue.ZeroLong, OmitValue.ZeroShort
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
code
private java.lang.Object
defaultValue
-
Constructor Summary
Constructors Constructor Description Parsed(java.lang.Object defaultValue, java.lang.String code)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
code()
static OmitValue
parse(java.lang.reflect.Type valueType, java.lang.String defaultValueToOmit)
boolean
shouldOmit(java.lang.Object val)
-
-
-
Method Detail
-
parse
public static OmitValue parse(java.lang.reflect.Type valueType, java.lang.String defaultValueToOmit)
-
shouldOmit
public boolean shouldOmit(java.lang.Object val)
- Specified by:
shouldOmit
in interfaceOmitValue
-
-