Modding Help Can't locate the error

Discussion in 'Starbound Modding' started by ipchjonathan, Apr 28, 2017.

  1. ipchjonathan

    ipchjonathan Space Hobo

    I don't understand what does this tell me:
    Caused by: (JsonParsingException) Error parsing json: bad object, should be '}' or ',' at 7:40.
    Please help.
     
  2. bk3k

    bk3k Oxygen Tank

    Everything in starbound that isn't LUA is JSON
    http://www.json.org/
    is a fine place to learn your syntax.

    Your error is pretty straightforward. It finds the error at line 7, character 40. Although your actual problem might be just before that. That's the point it is encountering something unexpected that breaks the JSON syntax.

    If you aren't already using it or similar, get notepad++. Choosing JSON from the language menu will add highlighting that makes everything easier to read. It also shows you easily which line and character you're on, has bracket match highlighting, etc. It will make the whole thing easier.
     
  3. The | Suit

    The | Suit Agent S. Forum Moderator

  4. ipchjonathan

    ipchjonathan Space Hobo

    Thanks! I solved my problem.
     

Share This Page