What class in the fasterxml API is equivalent to the org.json.JSONObject?
What class in the fasterxml API is equivalent to the org.json.JSONObject?
Jackson 2.x
com.fasterxml.jackson.databind.node.ObjectNode
ObjectMapper mapper = new ObjectMapper();
ObjectNode json = mapper.createObjectNode();
json.put("error", "json mapping error");