這是本文件的舊版!
Jackson
Introduction
在開發Rest API時,透過Jackson提供的API,將物件轉為json或xml格式。它曾經算是效能最好的函式庫之一,現在就不一定了。
Articles
- Convert the key fields with special char @JsonSerialize(keyUsing=KeySerializer.class)
- Optionally ignore some fields @JsonIgnore @JsonIgnoreProperties
- The visibility of the fields @JsonAutoDetect
- From 2.4.5 to 2.7.1 working
Resource
- How to rename element names? @JsonProperty(“contractor”)