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

Stack Overflow | HiPownedBi | 7 months 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

    parser JSON file JSONARRAY AND JSONOBJECT in java

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

    Crashing on query.whereContainedIn("pointer", listOfParseObjects);

    GitHub | 9 months ago | edvardasast
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  3. 0

    JSON Exception

    GitHub | 5 months ago | Jason-Souma
    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

    vHack API version

    GitHub | 4 months ago | Jason-Souma
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
  6. 0

    java.util.ConcurrentModificationException: null

    GitHub | 3 months ago | anand853
    org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

  1. Hiren 2 times, last 4 days ago
  2. Indri Yunita 4 times, last 1 month ago
  3. Dunmer 1 times, last 1 month ago
  4. justCodeit 12 times, last 2 months ago
  5. filpgame 2 times, last 3 months ago
19 more registered users
33 unregistered visitors
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
    JSONObject.<init>
    1. org.json.JSONTokener.syntaxError(JSONTokener.java:451)
    2. org.json.JSONObject.<init>(JSONObject.java:195)
    3. org.json.JSONObject.<init>(JSONObject.java:319)
    3 frames
  3. yyym
    ttt.main
    1. yyym.ttt.main(ttt.java:26)
    1 frame