QuestionQ83Verified/Understanding and Using APIsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements about JSON and XML are correct?Choose twoAThe syntax of JSON contains tags, elements, and attributes.BXML objects are collections of key-value pairs.CJSON objects are collections of key-value pairs.DJSON arrays are an unordered set of key-value pairs.EThe syntax of XML contains tags, elements, and attributes.Show AnswerAnswerExplanationJSON objects are collections of key-value pairs, while JSON arrays are ordered sequences of values. XML syntax uses tags to define elements and may include attributes.Learn moreRFC 8259 – The JSON Data Interchange FormatExtensible Markup Language (XML) 1.0 (W3C)Show comments9Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion