mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
dce373c37d5c9fffc33613a8f6e8a7fccc0feb97
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.
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.
Description
Languages
Kotlin
57.7%
Java
42.2%