JSON and XML Formats
JSON (JavaScript Object Notation) uses braces {} for objects and brackets [] for arrays with quoted keys/values, optimized for data interchange. XML (Extensible Markup Language) uses tag-based structure with opening/closing tags, attributes, and hierarchical nesting. JSON is concise and JavaScript-native, while XML is verbose but supports richer metadata, namespaces, and schemas. Both formats represent structured data but with different syntax and design philosophies.