Minecraft – getting an “Invalid json” error for the title command in 15w35e

minecraft-commandsminecraft-java-edition

Upon running

/title hacatu title {text:"test"}

I am given the error message "Invalid json: malformed JSON at line 1 column 3". I have never used the tellraw command before when creating command block contraptions, so I don't really know what I am doing wrong. I have already run the command /title hacatu times 40 100 40, which ran perfectly fine.

Best Answer

In the snapshots JSON no longer uses lenient parsing, thus you need to put quotation marks around every string:

/title hacatu title {"text":"test"}