Knowledge (XXG)

Name–value pair

Source 📝

36: 133: 304:: 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). 192:
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.
300:
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
339: 53: 100: 119: 72: 79: 57: 86: 228: 68: 46: 214: 321:
support arbitrarily deep nesting. Other data representations are restricted to one level of nesting, such as
268: 419: 334: 285: 177: 220: 169: 93: 308: 312: 301: 297: 224: 279: 161: 173: 413: 273: 17: 389: 344: 210: 200:
Some of the applications where information is represented as name-value pairs are:
243: 180:
without modifying existing code or data. In such situations, all or part of the
35: 181: 132: 137: 322: 264: 165: 365: 239: 204: 307:
In some applications, a name–value pair has a value that contains a
185: 131: 318: 254: 250: 258: 29: 60:. Unsourced material may be challenged and removed. 27:Data representation method in computing systems 8: 311:collection of attribute–value pairs. Some 120:Learn how and when to remove this message 356: 172:. Designers often desire an open-ended 7: 184:may be expressed as a collection of 58:adding citations to reliable sources 25: 238:Bibliographic information, as in 34: 45:needs additional citations for 1: 227:, where they often appear as 190:<attribute name, value> 340:Entity–attribute–value model 436: 366:"Internet Message Format" 292:Use in computer languages 325:'s section/name/value. 249:Element attributes in 141: 335:Attribute (computing) 286:Environment variables 219:Optional elements in 207:, in RFC 2822 headers 140:with name-value pairs 135: 150:attribute–value pair 54:improve this article 18:Attribute–value pair 267:systems – namely a 162:data representation 160:, is a fundamental 364:Peter W. Resnick. 314:data serialization 298:computer languages 269:key–value database 142: 394:www.w3schools.com 302:associative array 233:type–length–value 221:network protocols 166:computing systems 148:, also called an 130: 129: 122: 104: 69:"Name–value pair" 16:(Redirected from 427: 404: 403: 401: 400: 386: 380: 379: 377: 376: 361: 317:formats such as 315: 280:Windows registry 191: 178:future extension 176:that allows for 158:field–value pair 125: 118: 114: 111: 105: 103: 62: 38: 30: 21: 435: 434: 430: 429: 428: 426: 425: 424: 410: 409: 408: 407: 398: 396: 388: 387: 383: 374: 372: 363: 362: 358: 353: 331: 313: 294: 198: 196:Examples of use 189: 146:name–value pair 126: 115: 109: 106: 63: 61: 51: 39: 28: 23: 22: 15: 12: 11: 5: 433: 431: 423: 422: 412: 411: 406: 405: 390:"JSON Objects" 381: 370:tools.ietf.org 355: 354: 352: 349: 348: 347: 342: 337: 330: 327: 293: 290: 289: 288: 283: 277: 271: 263:Some kinds of 261: 247: 236: 217: 208: 197: 194: 174:data structure 154:key–value pair 128: 127: 42: 40: 33: 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 432: 421: 420:Data modeling 418: 417: 415: 395: 391: 385: 382: 371: 367: 360: 357: 350: 346: 343: 341: 338: 336: 333: 332: 328: 326: 324: 320: 316: 310: 305: 303: 299: 291: 287: 284: 281: 278: 275: 274:OpenStreetMap 272: 270: 266: 262: 260: 256: 252: 248: 245: 241: 237: 234: 230: 226: 222: 218: 216: 212: 211:Query strings 209: 206: 203: 202: 201: 195: 193: 187: 183: 179: 175: 171: 167: 163: 159: 155: 151: 147: 139: 136:Example of a 134: 124: 121: 113: 110:December 2009 102: 99: 95: 92: 88: 85: 81: 78: 74: 71: –  70: 66: 65:Find sources: 59: 55: 49: 48: 43:This article 41: 37: 32: 31: 19: 397:. Retrieved 393: 384: 373:. Retrieved 369: 359: 345:Query string 306: 295: 232: 199: 188:in the form 170:applications 157: 153: 149: 145: 143: 116: 107: 97: 90: 83: 76: 64: 52:Please help 47:verification 44: 244:Dublin Core 399:2018-10-02 375:2018-10-02 351:References 223:, such as 182:data model 80:newspapers 235:) triples 414:Category 329:See also 323:INI file 276:map data 265:database 246:metadata 186:2-tuples 138:web form 282:entries 94:scholar 309:nested 240:BibTeX 205:E-mail 96:  89:  82:  75:  67:  296:Some 213:, in 156:, or 101:JSTOR 87:books 319:JSON 257:and 255:HTML 251:SGML 242:and 215:URLs 168:and 73:news 259:XML 229:TLV 164:in 56:by 416:: 392:. 368:. 253:, 225:IP 152:, 144:A 402:. 378:. 231:( 123:) 117:( 112:) 108:( 98:· 91:· 84:· 77:· 50:. 20:)

Index

Attribute–value pair

verification
improve this article
adding citations to reliable sources
"Name–value pair"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message

web form
data representation
computing systems
applications
data structure
future extension
data model
2-tuples
E-mail
Query strings
URLs
network protocols
IP
TLV
BibTeX
Dublin Core
SGML

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.