I am looking for a fast alternative to validate and minify JSON strings in Java. I can use Jackson to parse the JSON String into JsonNode and write it back into a string. I want to avoid doing that as it can be costly. The performance is an importance factor in the application I am building. Is there a simpler alternative to validating and compacting JSON Strings?
JsonNode
Alternatively, is there a minimal dependency of Jackson I can use to achieve this?
2.1m questions
2.1m answers
60 comments
57.0k users