A script parses a JSON list of access-point objects and prints the length of that list. The list contains 12 objects. What does the length report?
Select an answer to reveal the explanation.
Short Explanation
You parsed the list and then asked how many things are in it. The length is 12 objects. It is not the number of letters in the body, and it is not the status code.
Full Explanation
After a JSON list is parsed, its length is how many elements it holds. This list holds 12 access-point objects, so the length reports 12. That is not the character count of the raw body, which would change with spaces and names. It is not the HTTP status. It is not a channel number. A list of radios does not encode the channel as the length of the list. The script parses a JSON list of access points and prints len of that list. The length is the number of objects, not the character count. Check one live client after the change and leave the rest of the floor alone until that client matches the result you expected. Confirm the symptom on the next attempt before changing anything else. Confirm the symptom on the next attempt before changing anything else. Confirm the symptom on the next attempt before changing anything else. Exam caveat: the length is the length of the list you parsed. If that list is one page of a paged API, 12 is the page, not the whole inventory. Operational check: compare the printed length with the number of objects in the parsed page.