Name–value pair
data representation method in computing systems

A name–value pair, also known as an attribute–value pair, key–value pair, or field–value pair, is a fundamental data representation in computer systems and applications. Designers often desire an open-ended data structure that allows for future extension without modifying existing code or data. In such situations, all or part of the data model may be expressed as a collection of 2-tuples in the form <attribute name, value> with each element being an attribute–value pair. Depending on the particular application and the implementation chosen by programmers, attribute names may or may not be unique.
Common examples include JSON objects such as database records where a column maps to a stored value (e.g., username → johndoe), HTTP headers like Content-Type: text/html, and configuration files with settings expressed as settingType=1.
Examples of use
Some of the applications where information is represented as name-value pairs are:
E-mail, in RFC 2822 headers
Query strings, in URLs
Optional elements in network protocols, such as IP, where they often appear as TLV (type–length–value) triples
Bibliographic information, as in BibTeX and Dublin Core metadata
Element attributes in SGML, HTML and XML
Key–value databases
OpenStreetMap map data
Windows registry entries
Environment variables
Use in computer languages
Some computer languages implement name–value pairs, or more frequently collections of attribute–value pairs, as standard language features. Most of these implement the general model of an associative array: an unordered list of unique attributes with associated values. As a result, they are not fully general; they cannot be used, for example, to implement electronic mail headers (which are ordered and non-unique).
In some applications, a name–value pair has a value that contains a nested collection of attribute–value pairs. Some data serialization formats such as JSON support arbitrarily deep nesting.
“Name–value pair” enters the record as data representation method in computing systems. Crown Archives preserves that source wording while asking what Name, value and pair can confirm, complicate or overturn.
Why this record matters
“Name–value pair” is worth following because a concise public description often conceals a longer documentary argument. Here, Name, value and pair provides the most credible route into that argument.
The date and method of observation matter as much as the stated conclusion, especially where classification or consensus has changed. The source revision retrieved here is dated Sep 23, 2025. The linked authority identifier is Q4818718. None of the 0 selected statements returned an explicit reference.
Scientific names, classifications and consensus can change while older terminology persists in catalogues and historical literature. The source lead contains qualifying language; that uncertainty should survive quotation, summary and reuse. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Check terminology, classification and the date of the cited evidence. Scientific names and technical consensus can change while older records retain historical value.
- Current terminology
- Classification context
- Finding cited technical literature
Primary datasets, specimen catalogues, standards bodies and the most recent peer-reviewed literature.
Three-step research path
- Establish the record: confirm the title “Name–value pair”, its source revision and the description used here.
- Expand the search: follow Name–value pair primary sources, Name–value pair archive and Name research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Name–value pair”?
- Is the terminology current, historical or disputed?
- Has classification or technical consensus changed since the cited source?
Search terms from this dossier
This entry incorporates text from “Name–value pair” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.