▲ | userbinator 12 hours ago | ||||||||||||||||
You probably didn't control the other end, as otherwise you would've used something more sane than JSON? | |||||||||||||||||
▲ | leptons 11 hours ago | parent [-] | ||||||||||||||||
I controlled both ends. There is nothing "insane" about JSON. It's used far and wide for many purposes. The system sending the JSON was based on Nodejs, so it was pretty natural to use JSON. And I did it with JSON just because I wanted to. I'd have had to invent some other protocol to do it anyway, and I didn't feel like reinventing the wheel when it was quite simple to write a basic JSON parser in assembly language, which is what I am comfortable with on the embedded system (been coding assembly for 40 years). | |||||||||||||||||
|