org.apache.logging.log4j.core.jackson
Class Log4jStackTraceElementDeserializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonDeserializer<T>
      extended by com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
          extended by com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<StackTraceElement>
              extended by org.apache.logging.log4j.core.jackson.Log4jStackTraceElementDeserializer
All Implemented Interfaces:
Serializable

public final class Log4jStackTraceElementDeserializer
extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<StackTraceElement>

Copy and edit the Jackson (Apache License 2.0) class to use Log4j attribute names. Does not work as of Jackson 2.3.2.

Consider this class private.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None
 
Field Summary
 
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass
 
Constructor Summary
Log4jStackTraceElementDeserializer()
          Constructs a new initialized instance.
 
Method Summary
 StackTraceElement deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
           
 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
deserializeWithType
 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_deserializeFromEmpty, _hasTextualNull, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, getValueClass, getValueType, handledType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
 
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, findBackReference, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jStackTraceElementDeserializer

public Log4jStackTraceElementDeserializer()
Constructs a new initialized instance.

Method Detail

deserialize

public StackTraceElement deserialize(com.fasterxml.jackson.core.JsonParser jp,
                                     com.fasterxml.jackson.databind.DeserializationContext ctxt)
                              throws IOException,
                                     com.fasterxml.jackson.core.JsonProcessingException
Specified by:
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<StackTraceElement>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.