public class LoginMarshaller extends Object implements JsonMarshaller<LoginInfo>
Constructor and Description |
---|
LoginMarshaller() |
Modifier and Type | Method and Description |
---|---|
Class<LoginInfo> |
getJavaType()
The marshalled java type
|
String |
getReference(LoginInfo info) |
String |
getType()
The type name that appears in serialization
|
LoginInfo |
read(com.fasterxml.jackson.core.JsonParser jp)
Builds and returns a POJO from the JSON object
|
protected Set<String> |
readGroups(com.fasterxml.jackson.core.JsonParser jp) |
void |
write(com.fasterxml.jackson.core.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public LoginMarshaller()
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<LoginInfo>
public Class<LoginInfo> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<LoginInfo>
public String getReference(LoginInfo info)
public LoginInfo read(com.fasterxml.jackson.core.JsonParser jp) throws IOException
JsonMarshaller
read
in interface JsonMarshaller<LoginInfo>
IOException
protected Set<String> readGroups(com.fasterxml.jackson.core.JsonParser jp) throws IOException
IOException
public void write(com.fasterxml.jackson.core.JsonGenerator jg, Object value) throws IOException
JsonMarshaller
write
in interface JsonMarshaller<LoginInfo>
IOException
Copyright © 2019 Nuxeo. All rights reserved.