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


    Question

    In web development and data exchange, what is the

    fundamental structure used to represent a collection of key-value pairs in a JSON object?
    A An ordered list enclosed in square brackets `[]` Correct Answer Incorrect Answer
    B A string enclosed in single quotes `''` Correct Answer Incorrect Answer
    C A collection of key-value pairs enclosed in curly braces `{}` Correct Answer Incorrect Answer
    D A numerical value Correct Answer Incorrect Answer
    E A boolean value Correct Answer Incorrect Answer

    Solution

    JSON objects are defined by key-value pairs, where keys are strings and values can be any JSON data type, all enclosed within curly braces `{}`.

    Practice Next
    ask-question