Skip to content

JSON Parser written in java for educational purposes.

License

Notifications You must be signed in to change notification settings

marcosantos98/lson

Repository files navigation

lson - JSON parser written in JAVA

Just like JSON but an 'L' at the beginning.
Simple project to learn about parsing text files to a language specification.

The implementation is fully compatible with the official JSON Specification.

  • Exponents: 2e+2
  • String Escapes: "\u0036\u0039"
  • All type: String, Number, Boolean, Null, Objects, Arrays

About implementation:

  • The numbers are always parsed as doubles.
  • The project contains a big test suite of fail and success tests that I got from this repo that is MIT licensed but all not my property.
  • The actual implementation of an api like GSON is kinda missing.

Build:

This will build and run all the tests.

git clone https://github.com/FInISHED-wORK/lson.git
cd lson
gradlew build

About

JSON Parser written in java for educational purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages