Skip to content

Light Alternative JSON Library for Java - LaJSON

Notifications You must be signed in to change notification settings

lassikin/LassiJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*note: renamed from LaJSON to LassiJSON as there is a python library named LaJSON already and every other single two letters+JSON name seems taken already as well

LassiJSON - Light Alternative JSON Library for Java

LassiJSON aims to provide an alternative library to parse and create JSON formatted data, with direct and unambigious mapping to JSON input or output. Please see the FAQ before using, it takes just a moment to skim over it, please.

Project goals

-At least as fast or faster than JSON.org, At least as fast or faster as GSON JSONParser, focused on bigger input and outputs

-Small (an under 20 kbyte addition)

-Single .java file with no extra dependencies

-Usable in most Java environments

-Unambigious serialization to JSON and back into LaJSON objects. (input for numbers should match output, even for cases where it will not be so for json.org.

-No additional dependencies to other libraries

-Obfuscation friendly (no need to configure proguard etc)

-Practicality

FAQ

Usage

see manual.

Reached goals

With larger inputs, faster than either json or gson.

Installation / Requirements of the runtime system

Add the .jar library into your project. Alternatively you can simply just add the .java into your project(it's a single file, which is part of the project goals, 1 java file - WITH NO EXTRA DEPENDENCIES)

So just drop https://github.com/lassikin/LassiJSON/blob/master/sources/LaJSONLibrary/src/lassik/LaJSON/LaJSON.java this file into your project and you're good to go.

Maven and Gradle packages coming in the future

*note: renamed from LaJSON to LassiJSON as there is a python library named LaJSON already and every other single two letters+JSON name seems taken already as well

About

Light Alternative JSON Library for Java - LaJSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published