public interface Serializer
Modifier and Type | Method and Description |
---|---|
Serializer |
exclude(String... names)
Exclude these properties in serialization.
|
Serializer |
excludeAll()
Include all properties in serialization.
|
Serializer |
include(String... names)
Include these properties in serialization.
|
Serializer |
recursive()
Include all fields, recursively.
|
void |
serialize()
End method for this fluent interface
|
Serializer exclude(String... names)
names
to avoid IllegalArgumentException,
making it an optional fieldnames
- IllegalArgumentException
- if names
doesn't exists in objectSerializer excludeAll()
Serializer include(String... names)
names
to avoid IllegalArgumentException
making it an optional fieldnames
- IllegalArgumentException
- if names
doesn't exists in objectSerializer recursive()
void serialize()
Copyright © 2014 Caelum. All rights reserved.