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