Skip to content

JSON Q2 #1568

Closed
Closed
JSON Q2#1568
@iHamzaKhanzada

Description

In JSON Q2, Which code is the closest JSON equivalent of the data shown? the correct option marked is

{ "color": "red", "color": "blue", "color": "green" }

but according to the question, the given data is an array of strings, and I believe the correct option should be

[ "red", "blue", "green" ]

as it is a valid JSON (ref attached)

image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions