mojira.dev
MC-98457

JSON Doesn't work in Minecraft 1.9

I updated to 1.9 and was exciting to add some cool new items to my Redstone world when I realized that that everything including JSON didn't work, I tried some different things like {text:"Hello"}, {Text:"Hello"}, and {text:Hello} but nothing worked all it said was either "[17:42:40] Invalid json: malformed JSON at line 1 column 3" or "[17:55:28] Invalid json: ". Please fix this I love to use JSON with /tellraw, /title, /blockdata with signs, and /give with books and signs. I'll try to put up some screenshots. Thank you for reading this!

Linked issues

Attachments

Comments 6

Mustek

Invalid syntax, see MC-83460 for more info.

Mustek

You're welcome 🙂

TCAtrevor

jerk.

TCAtrevor

Can at least please bring back the old days of {text:"Welcome!",color:gold,bold:true} instead of the bulky confusing crap now that is {"text":"Welcome!","color":"gold","bold":"true"}

user-f2760

@unknown added a comment - 11/Aug/15 10:39 AM

JSON parsing will be strict everywhere in the game, I recommend not using lenient syntax anywhere anymore.

that's a no

Mustek

Nope, JSON is a standard. See this document: http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf.
In the past versions, Minecraft didn't use the strict version, which could cause parsing issues.

TCAtrevor

(Unassigned)

Unconfirmed

JSON

Minecraft 1.9

Retrieved