Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

What’s the problem with json?

edited October 2017 in Questions Posts: 815

Json Code: https://github.com/Brick-Edits/Brick-Edits/blob/master/BlockInfo.json

Error:

nil 760 '}' expected at line 54, column 5

However, the closing-bracket is correct in the next line.

  },
  "11":{
    "type":"action",
    "shadow":false,
    "subtype":"gravity",
    "canMoveX":false,
    "canMoveY":true,
    "canJump":true,
    "gravity_y":0,
    "gravity_x":-1
  },
  "12":{

Line 45-56.

The error went away without doing anything. Is uploading from the web delayed or..? That means the real problem is in http.request

Comments

  • edited October 2017 Posts: 815

    Bump. Excuse me, but the decoded table of mine has 0 arguments in it. Can somebody check my json code and check it?

    Okay, got it. Has json support for

    [int] = {}
    

    Instead of

    [string] = {}
    
Sign In or Register to comment.