XStream – Annotations

XStream supports annotations similarly like automatic configuration instead of coding. In the previous chapter, we've seen the following configurations in code. xstream.alias("student", Student.class); xstream.alias("note", Note.class); xstream.useAttributeFor(Student.class, "studentName"); xstream.aliasField("name", Student.class, "studentName");…

Continue ReadingXStream – Annotations