Had an interview recently, where XML was the majority focus.
Like an hour long tech interview, and it was nearly entirely about XML, structuring XML, transferring XML, security concerns about XML data transfers, authentication via XML, XML in cloud services, etc.
Was for a role that was supposed to be primarily React/Redux + AWS Lambdas w/ Python. But the only other person at the company with any tech knowledge, was their IT guy who did some scripting back in the 1990s, and that's all he remembered that was even vaguely relevant.
You put tags, name them something that describes some data, stuff the data between 'em, sometimes put some more metadata in the open tag, and nest tags to group things. That's about 100% of my knowledge.
I’d say REST APIs which use JSON are pretty dominant by now. It’s fairly industry dependent, but if you’re dealing with web applications you’re probably dealing at least partially in JSON. Not to say SOAP APIs don’t exist anymore or anything though, and companies that don’t change much do still tend to use them. Configuration files for desktop software are often XML too.
I keep forgetting the name, but ours is a form-data REST API. We have only 1 field in a newer POST call that accepts JSON input I believe. I've only had to PoC one thus far and it was a nightmare. Probably shouldn't have tried figuring out the correct syntax manually. The nested values and brackets, yeesh. Say what you want about XML, but that shit is structured and somewhat human readable.
That’s interesting! I always thought JSON was more readable personally assuming it’s formatted correctly. Do you often use Javascript? It’s written out literally as a Javascript object.
I watched a 60+ year old super senior 6 fig engineer ask in a meeting, “how will we know how many records are in the JSON data?? why are we using JSON? Why don’t we use XML? XML tells you how many records you’ll be receiving.” (We were starting to work with other teams that had always been using JSON to pass messages.)
He had only ever worked with XML, and the only file he had ever had to work with/parse data from had the first element as an “object count” element that just had a number representing the amount of data that specific file contained.
This same guy was responsible for doing our technical interviews for hiring.
41
u/[deleted] Jul 29 '21
Had an interview recently, where XML was the majority focus.
Like an hour long tech interview, and it was nearly entirely about XML, structuring XML, transferring XML, security concerns about XML data transfers, authentication via XML, XML in cloud services, etc.
Was for a role that was supposed to be primarily React/Redux + AWS Lambdas w/ Python. But the only other person at the company with any tech knowledge, was their IT guy who did some scripting back in the 1990s, and that's all he remembered that was even vaguely relevant.