Closed zreisman closed 5 years ago
This hash syntax has been supported in ruby since 1.9. Curious why you believe it’s inavalid.
Maybe because the keys are symbols and he wants them to be strings?
A trailing colon instead of a hash rocket is valid. It isn't valid combined with the quote. "key": "value"
Ah, I see what you were pointing out -- on my phone notification I saw the first couple lines, which have symbol keys.
Gotcha. Javascript has corrupted me :) Thanks for the clarification.
Current syntax is invalid.