Interface DslJson.Fallback<TContext>

  • Enclosing class:
    DslJson<TContext>

    public static interface DslJson.Fallback<TContext>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object deserialize​(TContext context, java.lang.reflect.Type manifest, byte[] body, int size)  
      java.lang.Object deserialize​(TContext context, java.lang.reflect.Type manifest, java.io.InputStream stream)  
      void serialize​(java.lang.Object instance, java.io.OutputStream stream)  
    • Method Detail

      • serialize

        void serialize​(@Nullable
                       java.lang.Object instance,
                       java.io.OutputStream stream)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • deserialize

        @Nullable
        java.lang.Object deserialize​(@Nullable
                                     TContext context,
                                     java.lang.reflect.Type manifest,
                                     byte[] body,
                                     int size)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • deserialize

        @Nullable
        java.lang.Object deserialize​(@Nullable
                                     TContext context,
                                     java.lang.reflect.Type manifest,
                                     java.io.InputStream stream)
                              throws java.io.IOException
        Throws:
        java.io.IOException