I\'m using Jackson to build a custom JSON object. Is the correct way of going about this?
It seems to work well (and the output is correct) but I may be missing the way
ObjectNode factory = JsonNodeFactory.instance.objectNode();
This works well. I think this is an easier way.