Rest API - Request and Response Format
You receive this nested JSON:
How would you extract the number of HR employees in JavaScript?
{"departments": {"sales": {"employees": 10}, "hr": {"employees": 5}}}How would you extract the number of HR employees in JavaScript?
