本文整理匯總了Java中com.fasterxml.jackson.annotation.JsonAnyGetter類的典型用法代碼示例。如果您正苦於以下問題:Java JsonAnyGetter類的具體用法?Java JsonAnyGetter怎麽用?Java JsonAnyGetter使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
JsonAnyGetter類屬於com.fasterxml.jackson.annotation包,在下文中一共展示了JsonAnyGetter類的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: for
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String,JsonNode> _anyGetter() {
Map<String, JsonNode> unknowns = new HashMap<String, JsonNode>();
for(Iterator<Entry<String, JsonNode>> i = objectNode.fields(); i.hasNext(); ){
Entry<String, JsonNode> e = i.next();
unknowns.put(e.getKey(), e.getValue());
}
return unknowns;
}
示例2: getAdditionalProperties
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
示例3: getData
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getData() {
return data;
}
示例4: anyGetter
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@Override
public void anyGetter(JMethod getter) {
getter.annotate(JsonAnyGetter.class);
}
示例5: getResource
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, List<Object>> getResource() {
return this.resource;
}
示例6: getAdditionalMap
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getAdditionalMap() {
return additionalMap;
}
示例7: getAdditionalProperties
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
示例8: getParams
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getParams() {
return params;
}
示例9: getValues
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getValues() {
return properties;
}
示例10: getProperties
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getProperties() {
return properties;
}
示例11: any
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> any()
{
return extras;
}
示例12: getAdditionalProperties
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
示例13: getProperties
import com.fasterxml.jackson.annotation.JsonAnyGetter; //導入依賴的package包/類
@JsonAnyGetter
public Map<String, List<String>> getProperties() {
return properties;
}