As of Jackson 1.6, you can use: JsonNode node = mapper.valueToTree(map);. or. JsonNode node = mapper.convertValue(object, JsonNode.class);.
確定! 回上一頁