📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    A data analysis script receives data in JSON format.

    Which of the following is a valid JSON data type for a value?
    A Function Correct Answer Incorrect Answer
    B Undefined Correct Answer Incorrect Answer
    C Date Correct Answer Incorrect Answer
    D Number Correct Answer Incorrect Answer
    E XML Correct Answer Incorrect Answer

    Solution

    Valid JSON data types include String, Number, Boolean (true/false), Null, Array, and Object. Functions, Undefined, Date objects, and XML are not directly supported as JSON values.

    Practice Next
    ask-question