com.dslplatform.json
Interface DslJson.Fallback<TContext>

Enclosing class:
DslJson<TContext>

public static interface DslJson.Fallback<TContext>


Method Summary
 Object deserialize(TContext context, Type manifest, byte[] body, int size)
           
 Object deserialize(TContext context, Type manifest, InputStream stream)
           
 void serialize(Object instance, OutputStream stream)
           
 

Method Detail

serialize

void serialize(@Nullable
               Object instance,
               OutputStream stream)
               throws IOException
Throws:
IOException

deserialize

@Nullable
Object deserialize(@Nullable
                            TContext context,
                            Type manifest,
                            byte[] body,
                            int size)
                   throws IOException
Throws:
IOException

deserialize

@Nullable
Object deserialize(@Nullable
                            TContext context,
                            Type manifest,
                            InputStream stream)
                   throws IOException
Throws:
IOException


Copyright © 2019. All rights reserved.