This project is a simple JSON and XML parser written in Go. It provides functionality to parse JSON and XML data formats.
- Go: Version 1.21 or higher
- Mise: For managing development environments
json-parser
├── cmd
│ └── main.go # Entry point of the application
├── internal
│ └── parser
│ └── parser.go # Contains the parser logic
├── go.mod # Module definition
└── go.sum # Dependency checksums
To install the project, clone the repository and navigate to the project directory:
git clone <repository-url>
cd json-parser
mise trust
mise installThen, run the following command to download the dependencies:
go mod tidyTo run the application, use the following command:
go run cmd/main.go- ParseJSON: Parses JSON data and returns the result.
- ParseXML: Parses XML data and returns the result.
Feel free to submit issues or pull requests for improvements or bug fixes.