Annotation Type YAPIONPostSerialization


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface YAPIONPostSerialization
    This annotation describes one of the three steps in the process of serialization. You can use this annotation for a method that add the data or object back after serialized by YAPION. This can be useful to evaluate null pointer to their excepted value after serialization.

    Thr four Steps are:
    - PreSerialization method call
    - Serializing all fields (YAPIONSerializer)
    - PostSerialization method call

    The context describes the state in which the YAPIONSerializer should be for this annotation to take effect.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] context  
    • Element Detail

      • context

        java.lang.String[] context
        Default:
        {}