MalformedJsonException | API reference | Android Developers (original) (raw)
class MalformedJsonException : IOException
kotlin.Any | |||
---|---|---|---|
↳ | kotlin.Throwable | ||
↳ | java.lang.Exception | ||
↳ | java.io.IOException | ||
↳ |
Thrown when a reader encounters malformed JSON. Some syntax errors can be ignored by calling [JsonReader.setLenient(boolean)](/reference/kotlin/android/util/JsonReader#setLenient%28kotlin.Boolean%29)
.
Summary
Public constructors |
---|
MalformedJsonException(message: String!) |
Public constructors
MalformedJsonException
MalformedJsonException(message: String!)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.