本文整理汇总了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;
}