y9san9 / kotlin-simple-json

A simple educational Kotlin JSON parser: https://dev.to/y9san9/json-parsing-from-scratch-in-kotlin-4al8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple JSON Parser in Kotlin

MIT License Kotlin

This is a simple JSON parser written in Kotlin, intended to demonstrate how a basic JSON parser can be implemented in a straightforward manner. It is designed for educational purposes and is not meant for production use.

Article that describes how the parser works: https://dev.to/y9san9/json-parsing-from-scratch-in-kotlin-4al8

Note

Please be aware that this parser has some limitations and does not support the following features:

  • Parsing of floating-point numbers
  • Detailed error reporting

Features

  • Lightweight and easy-to-understand JSON parsing logic.
  • Demonstration of key concepts in parsing JSON data.

Usage

To use this JSON parser in your Kotlin project, you can clone this repository and include the relevant Kotlin files in your project. However, remember that this parser is not intended for real-world applications.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are not accepted for this repository, as its purpose is purely educational. However, feel free to fork and modify it for personal use or as a learning exercise.

Happy coding!

About

A simple educational Kotlin JSON parser: https://dev.to/y9san9/json-parsing-from-scratch-in-kotlin-4al8

License:MIT License


Languages

Language:Kotlin 100.0%