QuestionQ2Verified/Data SerializationCopy linkReport a problemAsk AstroTutorSave questionWhich of the following is a valid JSON object?A"hostname:vmx-1"B{ "hostname": "vmx-1"}C["vmx-1:172.25.11.1"]D{"vmx-1", "172.25.11.1"}Show AnswerAnswerExplanationA JSON object uses curly braces and contains property–value pairs, with each property name written as a string and separated from its value by a colon. { "hostname": "vmx-1"} follows this syntax.Show comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion