JSON vs XML
JSON 과 XML 의 차이를 구조화된 비교 표에서 확인한 뒤, 관련 면접 질문, 퀴즈, 유사 비교로 이어가세요.
차이점 비교
JSON vs XML - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare XML and JSON as very common job interview questions.
JSON 과 XML 의 차이
JSON vs XML - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare XML and JSON as very common job interview questions.
|
JSON
|
XML
|
|---|---|
| JSON full form is "JavaScript Object Notation". | XML full form is "Extensible Markup Language". |
| JSON has been extended from JavaScript. | XML is extended from SGML ("Standard Generalized Markup Language"). |
| JSON is one type of text-based format or standard for interchanging data i.e. human readable. JSON is developed by "Douglas Crockford". | XML is a Markup Language having format that contains set of rules for the encoding the documents which is readable for both human & machine. XML is developed by W3C :"World Wide Web Consortium". |
| JSON syntax is lighter than XML as JSON has serialized format of data having less redundancy. JSON does not contain start and end tags. | XML is not so lighter as JSON as having start and end tags and it takes more character than JSON to represent same data. |
| JSON supports datatype including integer and strings, JSON also supports array. | XML does not provide any data type so needs to be parsed into particular datatype. No direct support for array also. |
| JSON does not support Comments. | XML supports comments. |
| JSON does not have support for Namespaces. | XML supports Namespaces. |
| JSON is data oriented and can be mapped more easily. | XML is document oriented and needs more effort for mapping. |
| JSON uses only evel() for parsing i.e. for interpreting the JavaScript code & returns the result. It does not need any additional code for parsing. | XML needs XML Document Object Model (DOM) implementation & with that additional code for mapping text back to the JavaScript objects. |
| For Web services, JSON is better. | For configuration, XML is better. |
복습용 저장
이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.
관련 차이점
JSON 및 XML 와 관련된 유사 비교를 살펴보며 더 넓은 맥락과 면접 준비에 도움을 얻어보세요.
아래에서 차이점 보기
아래의 모든 주제 비교를 살펴보거나, 위 검색창을 사용해 목록을 즉시 좁혀보세요.