org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

GitHub | doug-hahn | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RESTful web service with Zend Framework 2

    Stack Overflow | 3 years ago
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  2. 0

    Karma JSON Issue??

    GitHub | 3 years ago | doug-hahn
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  3. 0

    JSON-RPC connection from Java server to C# client

    Stack Overflow | 5 years ago | Gorenko Roman
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Read JSON file without using external libraries (update using only org.json)

    Stack Overflow | 3 years ago | Alexandros Sparos
    org.json.JSONException: A JSONObject text must begin with '{' at 6 [character 1 line 6]
  6. 0

    How to create Json object from String containing characters like ':' ,'[' and ']' in Java

    Stack Overflow | 3 years ago | DevCoder
    org.json.JSONException: Expected a ',' or '}' at character 53

  1. Indri Yunita 36 times, last 1 week ago
  2. malhobayyeb 1 times, last 4 months ago
  3. filpgame 285 times, last 1 month ago
  4. ajinkya_w 31 times, last 5 months ago
  5. th3teacher 2 times, last 7 months ago
24 more registered users
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.json.JSONException

    A JSONObject text must begin with '{' at 1 [character 2 line 1]

    at org.json.JSONTokener.syntaxError()
  2. Android Platform
    JSONTokener.syntaxError
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:433)
    1 frame