I know that JSON is a data interchange format like XML but should I know about this technology? I had a recruiter call me saying they have a company looking for a JS Developer with experience with JSON. I’ve been programming with js for almost 15 years and I’ve never come across it. Am I missing something? Thanks!
The only real experience I have with JSON is when making AJAX calls to a third party API like Twitter or Instagram (or pretty much any other API). The data that gets returned is usually in JSON format, which makes it easy to traverse and find specific values.
If you know JS, JSON will be trivial to pick up. In native JS implementations, keys and booleans/numbers don’t need to be quoted; but if you’re transporting back-and-forth with other languages (which is what JSON is designed for), it’s a good habit.
When an employer asks for “experience with JSON,” they probably use it as an exchange format. It’s likely that what they really want is someone who can figure out what information is needed for given tasks, and design efficient data structures to pass the info back and forth to each end of the application.
I used JSON to pass data when I was checking the number of active users in a db for a community. The data would then be used to populate a counter control that did a cute animation whenever we got new signups.
Just an example but yeah it’s handy and easy to pick up.