-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
featureNew feature or requestNew feature or request
Description
Add an annotation that flags properties for being ignored from yaml serialization. It would be placed on the getter.
Example:
class Person {
String firstName;
String lastName;
String getFirstName() { ... }
void setFirstName(String value) { ... }
String getLastName() { ... }
void setLastName(String value) { ... }
@YamlIgnore // <--
String getFullName() { return getFirstName() + getLastName() }
}- p1: Person
firstName: Bob
lastName: BobsonInstead of @YamlIgnore, there is already the java.beans.Transient annotation, which could have similar semantics.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request