Quiz on JSONDecoder JSONArray Function in Python



1. What is the purpose of the json_decoder JSONArray function?
2. Which module must be imported to work with JSON in Python?
3. What type of Python object does the JSONArray function return?
4. Which of the following is a correct way to use the JSONArray function?
5. What happens if the input string is not a valid JSON array?

Advertisements