NOTE: This site is deprecated. The site will be turned down after January 31, 2023, and traffic will redirect to the new site at In the meantime, updates will be made only to
Stay organized with collections Save and categorize content based on your preferences.


Thrown when an attempt is made to parse invalid JSON, e.g.


using a non-string property key, or including a redundant comma. Parsing a protocol buffer message represented in JSON using JsonParser can throw both this exception and InvalidProtocolBufferException depending on the situation. This exception is only thrown for "pure JSON" errors, whereas InvalidProtocolBufferException is thrown when the JSON may be valid in and of itself, but cannot be parsed as a protocol buffer message.


Inherits from: IOException