JustJson is NOT a standard json2pojo library with multiple adapters.
It simply converts json string/stream to java Objects
- JsonObject - Iterable handy Map wrapper
- JsonArray - List implementation
- JsonString - String wrapper
- JsonBoolean - boolean wrapper
- JsonNumber - number wrapper
which are then flexible & easy to read/modify/iterate/search/wrap.
It came out of the need for a dynamic, simple and lightweight Json parser for Android(unlike Jackson). The code started as a mixture of https://android.googlesource.com/platform/libcore/+/master/json/ and the Json utils from https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/util .
JustJson is super simple, super small and fast json lib.
It can be used on Android and Java in general.
Find the latest JARs or grab via Maven:
<dependency>
<groupId>io.apptik.json</groupId>
<artifactId>json-XXX</artifactId>
<version>1.0.4</version>
</dependency>
or Gradle:
compile 'io.apptik.json:json-XXX:1.0.4'
Downloads of the released versions are available in Sonatype's releases
repository.
Snapshots of the development versions are available in Sonatype's snapshots
repository.
- Fast and easy Json Parser and Writer (comparable or better performance than Android Native, GSON and Jackson libraries)
- Flexible Json Wrapper helper implementations that hold json data and media type. Ideal for Model classes.
- Json-Schema validation
- Android UI generation
TODO
StackOverflow with tag 'JustJson'
- Json Core - the json core module responsible for mapping json string/stream to basic Java Objects
- Json Warpper - json wrapper classes that are used to wrap generic json representation around some defined interface
- Json Schema - helper to provide some json wrapper MetaInfo based on json-schema
- Json Generator - Random customizable json generator what uses json-schema metainfo
- Json AWS - helper for working with AWS json libraries
Copyright (C) 2016 AppTik Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.