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
Vibes don’t ship, Retool does
Vibe coding tools create cool demos, but Retool helps you build software your company can actually use. Generate internal apps that connect directly to your data—deployed in your cloud with enterprise security from day one. Build dashboards, admin panels, and workflows with granular permissions already in place. Stop prototyping and ship on a platform that actually passes security review.
Rate This Project
Login To Rate This Project
User Reviews
-
Sometime, I use jsonformatter.org all in one json tool.