org.codehaus.jackson.map.ser

## Class AnyGetterWriter

- java.lang.Object
- - org.codehaus.jackson.map.ser.AnyGetterWriter

-     public class AnyGetterWriter
      extends Object

  Class similar to `BeanPropertyWriter`, but that will be used for serializing `JsonAnyGetter` annotated (Map) properties
  Since:
    1.6

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Method` | `_anyGetter`
    `protected MapSerializer` | `_serializer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AnyGetterWriter(AnnotatedMethod anyGetter, MapSerializer serializer)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `getAndSerialize(Object bean, JsonGenerator jgen, SerializerProvider provider)`
    `void` | `resolve(SerializerProvider provider)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### _anyGetter

          protected final Method _anyGetter

    - #### _serializer

          protected final MapSerializer _serializer

  - ### Constructor Detail

    - #### AnyGetterWriter

          public AnyGetterWriter(AnnotatedMethod anyGetter,
                         MapSerializer serializer)

  - ### Method Detail

    - #### getAndSerialize

          public void getAndSerialize(Object bean,
                             JsonGenerator jgen,
                             SerializerProvider provider)
                               throws Exception

      Throws:
        `Exception`

    - #### resolve

          public void resolve(SerializerProvider provider)
                       throws JsonMappingException

      Throws:
        `JsonMappingException`