Skip to content

Java utilities for validating and formatting JSON. Part of the JSONViewerTool ecosystem.

Notifications You must be signed in to change notification settings

coderaviverma/jsonviewertool-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONViewerTool Utilities (Java)

JSONViewerTool Utilities is a lightweight Java library that provides common utilities for
validating, formatting, and working with JSON, designed as part of the JSONViewerTool ecosystem.

🔹 Simple APIs
🔹 Developer-friendly
🔹 Ideal for backend services, tools, and internal utilities


🚀 Features

  • ✅ JSON validation (syntax checks)
  • ✅ JSON formatting / pretty printing
  • ✅ Safe, fast, lightweight utilities
  • ✅ Designed for extensibility
  • ✅ Works well with REST APIs, configs, and data pipelines

📦 Maven Central

Add the dependency to your project:

Maven

<dependency>
  <groupId>com.jsonviewertool</groupId>
  <artifactId>jsonviewertool-utils</artifactId>
  <version>1.0.0</version>
</dependency>

Gradle

implementation 'com.jsonviewertool:jsonviewertool-utils:1.0.0'

🧠 Example Usage

import com.jsonviewertool.utils.JsonUtils;

String json = "{ \"name\": \"Avinash\", \"tool\": \"JSONViewerTool\" }";

// Validate JSON
boolean isValid = JsonUtils.isValid(json);

// Format JSON
String formatted = JsonUtils.prettyPrint(json);

🌐 JSONViewerTool Ecosystem

This library is part of JSONViewerTool, a privacy-first, client-side toolkit with 60+ free tools for developers.

🔗 Useful Links

🔒 Privacy & Philosophy

  • No telemetry
  • No tracking
  • Developer-first design
  • Focused on performance and simplicity

🤝 Contributing

Contributions are welcome 🙌 Feel free to: Open issues Submit pull requests Suggest new utilities

⭐ Support

If you find this project useful:

  • ⭐ Star the repo
  • 🔁 Share with other developers
  • 💬 Provide feedback

Documentation Status

Built with ❤️ by the JSONViewerTool team

About

Java utilities for validating and formatting JSON. Part of the JSONViewerTool ecosystem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages