Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 11

MalformedJsonException

public final class MalformedJsonException
extends IOException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ android.util.MalformedJsonException


Thrown when a reader encounters malformed JSON. Some syntax errors can be ignored by calling JsonReader.setLenient(boolean).

Summary

Public constructors

MalformedJsonException(String message)

Inherited methods

Public constructors

MalformedJsonException

added in API level 11
public MalformedJsonException (String message)

Parameters
message String