> For the complete documentation index, see [llms.txt](https://gwt.dontcareabout.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gwt.dontcareabout.us/3rd-party/gwt-jackson.md).

# gwt-jackson

> ## gwt-jackson

* repo：<https://github.com/nmorel/gwt-jackson>
* jackson-annotation：<https://github.com/FasterXML/jackson-annotations>

## Immutable class

```Java
public class Card {
	public final Suit suit;
	public final int number;

	@JsonCreator
	public Card(@JsonProperty("suit") Suit suit, @JsonProperty("number") int number) {
		this.suit = suit;
		this.number = number;
	}
}
```

## 沒有 \_etter 的 class

```Java
@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY)
public class Deck {
	private List<Card> sequence = Lists.newArrayList();
}
```
