3 ms·
It's a neat trick, but not something I'd deploy into production. If I have to try to guess at what the customer is sending me, I'm not going to apply it to the
by wccrawford 10y ago
It's a neat trick, but not something I'd deploy into production. If I have to try to guess at what the customer is sending me, I'm not going to apply it to their account.
In an emergency, I might hand-edit it and make it right, but I'd absolutely insist that further files be in the correct format.
- k__ 10y agoIsn't this used mainly in editors that want to provide some hints even for JSON you didn't finished yet.
- wccrawford 10y agoThat's a legit use for it, sure. But when a non-techie sees something like this, they immediately think of all the hassle they can save a customer that is having trouble making valid JSON. "We'll just parse it for them!" They completely ignore that it's not possible to know for sure what the customer really wanted, and it's the start of a lot of headaches.