Stand-alone Java library implementing parser/formatter/comparator/validator for JSON/XML-like text formats oriented on JSON-like object model (list,map,scalar + reflection). Library is designed to maximize adaptivity via set of extendable modules.
Features
- Formatter: converts Java objects (list/array, map, scalar, and reflected) into JSON, XML, and similar arbitrary formats.
- Parses into Java objects (list,map,scalar, and reflected) texts in JSON and XML formats.
- Supports bi-directional reflection (on parsing and formatting): default implementation uses getters/setters only. May be extended.
- Supports locale-specific customizable multiple formats on parsing and formatting. Formats are applied to dates (date, time, date/time) and numbers.
- Compares 2 objects. Supports ordered/unordered lists compare and multi-match.
- Designed to simplify customization. Provides basic implementations and examples of extensions.
- Sample swing application allows viewing full or any element in object in JTextPane using selected format. Drag'n'drop file or URL over tree to view XML or JSON data as structure.
- Class Utilities.NonResizableListForArray wraps any array (Object[], byte[], etc) as list
- JSON schema support (partial)
License
Apache License V2.0Follow JSONXML
Other Useful Business Software
Parasoft: Automated Testing to Deliver Superior Quality Software
Parasoft helps organizations continuously deliver high-quality software with its AI-powered software testing platform and automated test solutions. Supporting the embedded, enterprise, and IoT markets, Parasoft’s proven technologies reduce the time, effort, and cost of delivering secure, reliable, and compliant software by integrating everything from deep code analysis and unit testing to web UI and API testing, plus service virtualization and complete code coverage, into the delivery pipeline. Bringing all this together, Parasoft’s award-winning reporting and analytics dashboard provides a centralized view of quality, enabling organizations to deliver with confidence and succeed in today’s most strategic ecosystems and development initiatives—security, safety-critical, Agile, DevOps, and continuous testing.
Rate This Project
Login To Rate This Project
User Reviews
-
Sometime, I use jsonformatter.org all in one json tool.