A modern JSON library for Kotlin and Java.
Find a file
jwilson dce373c37d Throw JsonDataException consistently.
We throw IllegalStateException when the application code is
internally inconsistent, such as when it closes and then writes
or similar.

We throw an IOException when the source JSON is structurally
invalid, such as when strings are unquoted in strict mode.

And we throw JsonDataException when the application code is
correct, and the JSON is well-formed, but the application code
and JSON disagree with one another.
2015-06-07 11:12:39 -04:00
.buildscript Things to allow opening. 2015-03-27 00:29:22 -04:00
moshi Throw JsonDataException consistently. 2015-06-07 11:12:39 -04:00
.gitignore Basic project structure. 2014-08-09 12:19:29 -04:00
.travis.yml Add credentials for CI snapshot deployments. 2015-03-30 17:23:28 -04:00
CHANGELOG.md Things to allow opening. 2015-03-27 00:29:22 -04:00
checkstyle.xml Basic project structure. 2014-08-09 12:19:29 -04:00
CONTRIBUTING.md Basic project structure. 2014-08-09 12:19:29 -04:00
deploy_javadoc.sh Use new central artifact redirect link. 2014-11-19 14:24:33 -08:00
LICENSE.txt Basic project structure. 2014-08-09 12:19:29 -04:00
pom.xml Save an allocation by using Okio instead of substring. 2015-05-25 06:45:00 -07:00
README.md Update README.md 2015-04-17 09:50:14 -04:00

Moshi

A modern JSON library for Android and Java.

Download

Moshi is currently under development. The API is not stable and neither is the feature set. It should not be used.

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Copyright 2015 Square, Inc.

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.