Package com.restfb

Annotation Type JsonMapper.JsonMappingCompleted

  • @Target(METHOD)
    public static @interface JsonMapper.JsonMappingCompleted
    If you apply this annotation to a method of a type mapped by JsonMapper, it will be called after the mapping operation has been completed.

    The method you specify must take 0 parameters or a single JsonMapper parameter. Any other signature will cause a FacebookJsonMappingException to be thrown.

    This is useful if you'd like to perform a custom post-mapping task, like massaging the data Facebook returns or custom mapping of fields JsonMapper isn't equipped to handle yet.

    Mark Allen