QuestionQ49Verified/Understanding and Using APIsCopy linkReport a problemAsk AstroTutorSave questionHow do JSON and XML differ?AThe syntax of JSON contains tags, elements, and attributes whereas XML objects are collections of key-value pairs.BJSON objects are an ordered set of element attributes whereas XML arrays are an unordered set of key-value pairs.CThe syntax of XML contains tags, elements, and attributes whereas JSON objects are collections of key-value pairs.DJSON arrays are an unordered set of key-value pairs whereas XML objects are an ordered set of element attributes.Show AnswerAnswerExplanationXML syntax uses tags, elements, and attributes to structure data, whereas JSON objects consist of key-value pairs.Learn moreJSON: The Fat-Free Alternative to XMLShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion