Data Format Glossary
A comprehensive glossary of JSON, XML, and YAML terminology. Master the vocabulary of data serialization formats.
{ } JSON Terms
JSON
JavaScript Object Notation - a lightweight, text-based data interchange format that is easy for humans to read and write, and easy for machines to parse and generate.
Object
An unordered collection of key-value pairs enclosed in curly braces {}. Keys must be strings, and values can be any valid JSON data type.
Array
An ordered list of values enclosed in square brackets []. Values can be of any type and do not need to be the same type.
Key-Value Pair
A fundamental unit in JSON objects consisting of a key (always a string) and a value separated by a colon.
JSON Schema
A vocabulary that allows you to annotate and validate JSON documents. It describes the structure and constraints of JSON data.
Serialization
The process of converting a data structure or object into a format (like JSON string) that can be stored or transmitted.
Deserialization
The reverse of serialization - converting a JSON string back into a native data structure or object.
Minification
The process of removing all unnecessary whitespace and formatting from JSON to reduce file size.
Beautification
The process of adding whitespace, indentation, and line breaks to JSON to make it human-readable.
Nested Object
An object that is a value within another object, creating a hierarchical data structure.
</> XML Terms
XML
eXtensible Markup Language - a markup language that defines rules for encoding documents in a format that is both human-readable and machine-readable.
Element
The basic building block of XML documents, consisting of a start tag, content, and end tag.
Attribute
A name-value pair that provides additional information about an element, placed within the start tag.
Root Element
The single top-level element that contains all other elements in an XML document.
CDATA
Character Data section that tells the parser not to interpret the content as XML markup.
DTD
Document Type Definition - defines the structure and legal elements/attributes of an XML document.
XSD
XML Schema Definition - an XML-based alternative to DTD for describing the structure of XML documents.
Namespace
A collection of element and attribute names identified by a URI, used to avoid naming conflicts.
XPath
A query language for selecting nodes from an XML document.
XSLT
eXtensible Stylesheet Language Transformations - a language for transforming XML documents into other formats.
--- YAML Terms
YAML
YAML Ain't Markup Language - a human-readable data serialization format commonly used for configuration files.
Scalar
A single value in YAML - can be a string, number, boolean, or null.
Mapping
YAML equivalent of an object or dictionary - a collection of key-value pairs.
Sequence
YAML equivalent of an array - an ordered list of items prefixed with dashes.
Indentation
Whitespace at the beginning of lines that defines the structure and hierarchy in YAML. Spaces only, no tabs.
Anchor
A marker (&name) that allows you to reference the same data elsewhere in the document.
Alias
A reference (*name) to an anchor, allowing content reuse without duplication.
Multi-line String
YAML supports multi-line strings using | (literal) or > (folded) block scalars.
Document Separator
Three dashes (---) that mark the beginning of a YAML document, allowing multiple documents in one file.
Comment
Text preceded by # that is ignored by the parser, used for documentation.
๐ General Terms
Data Serialization
The process of converting data structures into a format that can be stored or transmitted and reconstructed later.
Parser
A program or function that analyzes a string of symbols according to the rules of a formal grammar.
Validator
A tool that checks if data conforms to a specified format, schema, or set of rules.
Encoding
The character set used to represent text. JSON typically uses UTF-8 encoding.
API
Application Programming Interface - a set of rules for building and interacting with software. REST APIs commonly use JSON.
Put Your Knowledge to Practice
Use our free tools to work with JSON, XML, and YAML