Added toJson API for pritting a mapped object #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This pull request introduces a new JSON output feature to the
DotPathQLAPI, allowing users to convert filtered or excluded results to pretty-formatted or compact JSON strings. It also adds comprehensive Maven and CI/CD integration for code coverage and SonarCloud analysis, updates documentation, and improves test coverage for the new utilities. The most important changes are grouped below:Feature Additions: JSON Output Support
PathPrinterutility (src/main/java/io/github/trackerforce/PathPrinter.java) to enable conversion of filtered results to JSON, supporting both pretty (indented) and compact formats.DotPathQLAPI (src/main/java/io/github/trackerforce/DotPathQL.java) withtoJsonandtoMapmethods for easy conversion to JSON and map representations. [1] [2] [3]Documentation Updates
README.mdwith examples and explanations for the new JSON output feature, including sample code and output for both pretty and compact formats. [1] [2]Build and CI/CD Integration
.github/workflows/master.yml) for continuous code quality analysis.pom.xml, including new profiles for coverage and Sonar analysis, and necessary plugin management and properties. [1] [2] [3]Testing Improvements
PrintTypeClassRecordTest.java,UtilsTest.java) to validate JSON output and utility methods for arrays, lists, and maps. [1] [2]Fixture Enhancements
Addressfixture class to include additional array and list fields for more comprehensive testing. [1] [2] [3] [4]