Meta tags:
Headings (most frequently used words):
and, json, contents, naming, pronunciation, standards, history, syntax, interoperability, metadata, schema, uses, safety, alternatives, supersets, derivatives, see, also, notes, references, external, links, character, encoding, data, types, comments, lint, semantics, xml, yaml, cson, hocon, json5, jsonc,
Text of the page (most frequently used words):
json (215), the (198), and (104), for (65), data (65), retrieved (62), that (44), from (42), format (42), with (40), javascript (34), not (34), edit (30), ecma (27), xml (26), language (24), august (24), interchange (23), used (23), rfc (22), object (22), are (22), standard (22), comments (21), web (20), syntax (20), archived (19), but (19), org (18), original (18), code (17), may (17), 2017 (17), schema (17), 2022 (16), 2019 (16), notation (16), was (15), 2021 (15), does (15), interoperability (15), this (14), use (14), june (14), december (14), types (14), can (14), type (14), which (14), crockford (14), also (14), using (13), 2024 (13), april (13), internet (13), text (12), iso (12), specification (12), 2023 (12), such (12), 404 (12), have (12), yaml (11), based (11), github (11), json5 (11), value (11), while (11), wikipedia (10), example (10), march (10), open (10), formats (10), standards (10), programming (10), 2016 (10), hocon (10), strings (10), valid (10), uses (10), objects (10), applications (10), languages (9), all (9), other (9), file (9), configuration (9), 8259 (9), name (9), characters (9), same (9), page (8), february (8), markup (8), international (8), iec (8), human (8), july (8), support (8), config (8), com (8), version (8), server (8), 2013 (8), douglas (8), character (8), subset (8), number (8), has (8), you (7), articles (7), november (7), 2014 (7), ecmascript (7), protocol (7), binary (7), new (7), ietf (7), doi (7), browser (7), october (7), net (7), representation (7), processing (7), between (7), commas (7), like (7), numbers (7), any (7), names (7), superset (7), see (7), include (7), main (7), its (7), values (7), each (7), only (7), specifications (7), toggle (6), license (6), september (6), 21778 (6), 262 (6), list (6), media (6), system (6), serialization (6), rpc (6), 2020 (6), extension (6), visual (6), streambase (6), via (6), cson (6), semantics (6), encoding (6), 2011 (6), engineering (6), implementations (6), trailing (6), were (6), them (6), some (6), pairs (6), several (6), software (6), first (6), published (6), should (6), precision (6), search (5), about (5), available (5), 2015 (5), basic (5), application (5), links (5), jsonnet (5), 2025 (5), isbn (5), sqlite (5), more (5), 2018 (5), pdf (5), 2012 (5), task (5), force (5), people (5), parsing (5), floating (5), point (5), edition (5), history (5), references (5), utf (5), line (5), there (5), supersets (5), user (5), must (5), elements (5), where (5), avoid (5), unicode (5), contents (4), safety (4), pages (4), multiple (4), one (4), english (4), 2001 (4), fat (4), common (4), ubjson (4), atom (4), readable (4), website (4), smile (4), jsonml (4), geojson (4), studio (4), project (4), reference (4), docs (4), files (4), january (4), primary (4), structure (4), java (4), time (4), jsonb (4), amazon (4), ion (4), framework (4), 2009 (4), draft (4), bray (4), 17487 (4), rfc8259 (4), what (4), 2nd (4), makes (4), require (4), ordering (4), yahoo (4), std (4), how (4), information (4), streaming (4), query (4), most (4), commonly (4), specific (4), when (4), encoded (4), simple (4), been (4), built (4), supports (4), supported (4), keys (4), backslash (4), being (4), tag (4), cannot (4), contain (4), without (4), their (4), alternatives (4), those (4), separator (4), allows (4), into (4), order (4), tools (4), specified (4), within (4), early (4), current (4), pronunciation (4), hide (4), move (4), sidebar (4), subsection (4), table (3), view (3), developers (3), non (3), commons (3), examples (3), image (3), short (3), ajax (3), control (3), databases (3), 1007 (3), universal (3), tape (3), advanced (3), infrastructure (3), comparison (3), projects (3), modern (3), compatible (3), world (3), features (3), 3rd (3), 978 (3), microsoft (3), jitsi (3), notes (3), documentation (3), akka (3), set (3), escaping (3), make (3), good (3), jason (3), even (3), client (3), free (3), content (3), denial (3), service (3), vulnerability (3), requires (3), agreement (3), syntactic (3), because (3), would (3), then (3), parser (3), restrictions (3), unique (3), tc39 (3), proposal (3), space (3), side (3), 7159 (3), pronounced (3), will (3), call (3), derivatives (3), single (3), jsonc (3), tibco (3), called (3), similar (3), concept (3), whereas (3), escaped (3), another (3), key (3), attribute (3), metadata (3), article (3), these (3), real (3), texts (3), certain (3), specifically (3), many (3), added (3), browsers (3), strict (3), provides (3), after (3), describing (3), part (3), transmitting (3), byte (3), transmit (3), implementation (3), binary64 (3), array (3), arrays (3), since (3), others (3), 7158 (3), 4627 (3), null (3), face (3), libraries (3), source (3), capabilities (3), create (3), had (3), legal (2), contact (2), privacy (2), policy (2), under (2), additional (2), terms (2), organization (2), wikimedia (2), inc (2), last (2), 2026 (2), categories (2), needing (2), unsourced (2), statements (2), dates (2), written (2), american (2), description (2), different (2), wikidata (2), computer (2), related (2), states (2), 27000 (2), 23094 (2), 20000 (2), 15926 (2), 11941 (2), 1073 (2), 646 (2), full (2), disc (2), dlt (2), systems (2), link (2), office (2), buffers (2), property (2), cbor (2), bson (2), csv (2), exchange (2), official (2), wikibooks (2), external (2), bryan (2), through (2), ayush (2), home (2), wide (2), consortium (2), matt (2), apress (2), 979 (2), 8688 (2), 1594 (2), building (2), editing (2), 4842 (2), 9484 (2), exabeam (2), analytics (2), release (2), puppet (2), www (2), lightbend (2), lee (2), coffeescript (2), keep (2), optimized (2), isn (2), following (2), hjson (2), python (2), reilly (2), alternative (2), creation (2), mysql (2), zyp (2), tim (2), iana (2), considerations (2), correct (2), producer (2), consumer (2), attached (2), particular (2), provide (2), iii (2), mozilla (2), mdn (2), removed (2), saw (2), hold (2), directives (2), practice (2), destroyed (2), insert (2), before (2), always (2), method (2), sec (2), impose (2), assign (2), significance (2), bigint (2), subsume (2), 1999 (2), 2007 (2), services (2), flash (2), technology (2), sawn (2), either (2), way (2), say (2), transcript (2), library (2), oriented (2), level (2), api (2), though (2), general (2), documents (2), supporting (2), remote (2), procedure (2), representing (2), they (2), editor (2), quoted (2), unquoted (2), needed (2), significant (2), versions (2), strictly (2), led (2), despite (2), fifth (2), formal (2), allowing (2), validation (2), numeric (2), quotation (2), mark (2), addressing (2), defines (2), separates (2), attributes (2), describe (2), various (2), exist (2), represent (2), kind (2), form (2), much (2), larger (2), than (2), however (2), appear (2), due (2), ability (2), intended (2), addition (2), postgresql (2), outside (2), textual (2), both (2), lead (2), safe (2), pass (2), function (2), containing (2), older (2), arbitrary (2), provided (2), made (2), revision (2), parse (2), paragraph (2), 2029 (2), 2028 (2), native (2), database (2), ajaj (2), response (2), actions (2), out (2), specifies (2), required (2), xsd (2), legacy (2), mime (2), filename (2), message (2), possible (2), issues (2), unit (2), sequences (2), messages (2), did (2), exchanged (2), ecosystem (2), members (2), duplicate (2), problems (2), comma (2), lint (2), serialized (2), portability (2), integer (2), loss (2), decimal (2), ieee (2), 754 (2), signed (2), could (2), allowed (2), string (2), whitespace (2), purpose (2), delimited (2), pair (2), zero (2), true (2), double (2), became (2), including (2), originally (2), children (2), 555 (2), state (2), address (2), clause (2), year (2), independent (2), messaging (2), http (2), cofounders (2), 2000s (2), standardized (2), naming (2), here (2), appearance (2), upload (2), changes (2), read (2), bahasa (2), log (2), account (2), donate (2), menu (2), add, topic, mobile, cookie, statement, statistics, conduct, contacts, disclaimers, apply, site, agree, registered, trademark, profit, foundation, creative, attribution, sharealike, rendered, parsoid, edited, utc, hidden, plain, ipa, auto, scaled, images, mdy, introductions, https, index, php, title, oldid, 1376182629, yale, lux, israel, united, national, fast, gnd, authority, category, 80000, 56000, 55000, 50001, 45001, 42010, 40500, 40314, 40260, 40250, 40240, 40230, 39075, 39001, 38500, 37120, 37001, 33001, 32000, 31010, 31000, 30170, 30000, 29500, 29199, 29148, 29119, 29110, 28000, 27729, 27040, 27019, 27018, 27017, 27007, 27006, 27005, 27004, 27003, 27002, 27001, series, 26324, 26300, 26262, 26000, 25964, 25178, 24728, 24707, 24617, 24613, 24517, 23941, 23360, 23271, 23270, 23092, 23090, 23009, 23008, 23003, 23000, 22537, 22396, 22395, 22392, 22382, 22381, 22380, 22322, 22319, 22315, 22301, 22300, 22275, 22000, 21827, 21500, 21482, 21122, 21047, 21001, 21000, 20830, 20802, 20400, 20252, 20121, 20022, 29999, 19831, 19794, 19775, 19770, 19757, 19752, 19650, 19600, 19510, 19509, 19508, 19507, 19506, 19505, 19503, 19502, 19501, 19500, 19439, 19407, 19136, 19125, 19115, 19114, 19092, 19011, 19005, 18916, 18760, 18629, 18245, 18181, 18014, 18004, 17800, 17799, 17506, 17442, 17369, 17203, 17100, 17025, 17024, 16949, 16750, 16612, 16610, 16485, 16355, 16262, 16023, 15938, 15930, wip, 15924, 15919, 15897, 15707, 15706, 15693, 15686, 15511, 15504, 15489, 15438, 15445, 15444, 15408, 15398, 15291, 15288, 15189, 15118, 15022, 14971, 14882, 14764, 14755, 14698, 14651, 14649, 14644, 14617, 14555, 14496, 14443, 14396, 14289, 14224, 14223, 14051, 14031, 14006, 14000, 13849, 13818, 13816, 13616, 13584, 13568, 13567, 13490, 13485, 13450, 13406, 13399, 13250, 13216, 13211, 12944, 12620, 12234, 12207, 12182, 12052, 12006, 11992, 11940, 11898, 11889, 11801, 11785, 11784, 11783, 11544, 11404, 11179, 11172, 11170, 11073, 10967, 10962, 10957, 10861, 10746, 10664, 10646, 10628, 10589, 10585, 10383, 10367, 238, 10303, 10279, 10218, 10206, 10179, 10165, 10161, 10160, 10118, 10116, 10007, 10006, 10000, 19999, 9995, 9985, 9984, 9945, 9899, 9897, 9797, 9660, 9594, 9592, 9593, 9564, 9529, 9506, 9496, 9407, 9362, 9314, 9293, 9241, 9227, 9141, 9126, 9075, 9036, 9000, 9001, 8879, 8859, 8820, 8807, 8805, 8806, 8802, 8691, 8652, 8651, 8632, 8613, 8601, 8583, 8571, 8501, 8373, 8217, 8178, 8093, 8000, 7942, 7816, 7813, 7812, 7811, 7810, 7736, 7637, 7498, 7200, 7185, 7098, 7064, 7027, 7010, 7002, 7001, 6943, 6862, 6709, 6523, 6438, 6429, 6425, 6385, 6373, 6346, 6344, 6166, 5964, 5807, 5800, 5776, 5775, 5725, 5428, 5427, 5426, 5218, 5127, 4909, 4217, 4165, 4157, 4031, 3977, 3950, 3901, 3864, 3602, 3601, 3307, 3297, 3166, 3103, 3029, 2921, 2852, 2848, 2788, 2720, 2711, 2709, 2533, 2281, 2240, 2146, 2145, 2108, 2047, 2033, 1989, 1745, 1629, 1538, 1413, 1155, 1004, 1000, 999, 965, 898, 860, 843, 838, 764, 732, 704, 690, 668, 657, 639, 519, 518, 500, 361, 306, 302, 261, 259, 233, 228, 226, 217, 216, 128, 9999, romanizations, standardization, 1961, present, minimal, dart, e4x, eiffel, cli, graphics, holographic, versatile, ultra, density, optical, udf, fat16b, fat16, fat12, cdfs, rom, disk, vxa, ultrium, linear, super, dds, intelligent, uwb, nfc, radio, openxps, apiw, ansi, escape, interfaces, yenc, uuencode, xdr, dsdl, cyphal, thrift, messagepack, flatbuffers, cap, proto, bencode, base64, base32, avro, smi, asn, ascii85, amf, toon, toml, rebol, rdf, markdown, signature, token, encryption, edifact, textbooks, wiktionary, definitions, sister, eric, liang, aaron, davidson, declarative, templating, william, hegedus, 194, 198, mastering, prometheus, feuling, 129, repeatability, reliability, scalability, gitops, nlohmann, universally, gupta, understanding, fasterxml, mckamey, stephen, jsonrpc, linking, butler, daly, doyle, gillies, sean, schaub, hagen, stefan, datatracker, 7946, frisbie, manifest, berkeley, california, 2_5, extensions, del, sole, alessandro, 0_3, distilled, functions, operators, conf, phase, noteworthy, archive, guide, managing, getakka, playframework, master, seonghoon, kang, bevry, flight, manual, customization, dohm, big, book, ain, goal, tree, convenient, editable, mccombs, thayne, lucid, chart, why, edelman, lowe, scott, oswalt, pick, yamlex, pure, network, programmability, automation, saternos, casimir, 9781449369316, apps, david, balisage, conference, montréal, canada, 935958, 4242, balisagevol10, lee01, trimming, myth, calorie, unsafe, cve, 0269, douglascrockford, 5th, dev, cockroachlabs, kris, paul, pbryan, ref, hyper, 263868313, s2cid, reqbin, header, complete, meaningful, developer, know, lack, sad, shouldn, suppose, annotate, ahead, pipe, handing, your, jsmin, andrysco, marc, jhala, ranjit, lerner, sorin, report, printing, grammar, doc, glossary, advance, stage, holm, magnus, timeless, repository, literal, lwn, jake, edge, apache, introducing, 1996, macromedia, launches, occupies, left, activex, becoming, facto, animation, edu4java, unofficial, ongoing, redux, aka, rfc7159, obsoletes, 2070, 1721, issn, assuming, sɒn, cot, caught, merger, sweigart, 319, jay, doesn, matter, pronouncing, wrong, 9781593276850, starch, press, automate, boring, stuff, practical, total, beginners, 1st, footnote, vids, yui, youtube, video, saga, expression, xquery, jsoniq, high, functional, jaql, jackson, limited, unlike, extensible, domain, produces, programs, emitted, unchanged, run, extends, variables, imports, loops, etc, cloud, prototype, imitating, requiring, fewer, bytes, lightweight, map, linked, designed, geographical, accepts, discouraged, display, warning, block, instance, multiline, optional, started, finished, differences, fallback, properties, subsystems, family, products, liveview, artifact, management, mostly, along, developed, play, unrelated, cursive, script, syntactically, assumes, outer, declaration, configuring, indentation, prior, slash, deemed, useful, nonstandard, created, among, permits, strong, typing, defined, predefined, tags, stream, nor, begin, digit, difference, mapping, happens, receives, processor, additionally, explicitly, nodes, structured, serialize, protocols, structures, purposes, ways, expansive, results, count, stored, closing, replaced, often, size, just, little, once, element, faster, cost, readability, express, fill, niche, parsed, own, internal, representations, google, model, below, offers, wider, range, annotations, promoted, low, overhead, widespread, reading, decoding, situations, depending, case, misconception, until, updated, engines, pitfalls, caused, executing, major, suffered, mass, assignment, attack, eval, relational, directly, having, convert, document, mongodb, seen, usage, lacking, hoc, refers, methodology, instead, development, technique, request, loaded, typically, renders, sends, immediately, responds, matching, items, drop, down, box, dynamic, asynchronous, replacement, handful, commands, lets, send, notifications, calls, answered, soap, exists, define, interaction, contract, given, modified, concepts, deserialization, self, latest, validators, varying, levels, conformance, adopted, unambiguous, necessary, regular, expressions, restricted, profile, constrains, 7493, constrain, comparing, perform, comparisons, forbid, incorrectly, earlier, closed, place, limits, magnitude, literals, widely, stores, ieee754, quantities, represented, 1e400, 141592653589793238462643383279, assigning, meaning, member, visible, allow, behavior, unpredictable, accept, interchanging, describes, aspects, per, cause, disallows, inside, feature, improve, ease, intentionally, excluded, described, design, decision, thus, agnostic, regard, differentiation, treat, requirements, regarding, details, rounding, recommend, expecting, inherent, serializing, machine, back, algorithms, conversion, exactly, optimally, zeros, underflow, overflow, consist, restriction, dropped, redefined, ignored, around, punctuation, four, considered, generated, conforming, accepted, carriage, return, feed, horizontal, tab, empty, word, collection, separate, colon, curly, brackets, separated, square, bracket, ordered, false, boolean, sequence, marks, fractional, exponential, distinction, later, implementing, encode, differently, nan, ud83d, ude10, 0000, ffff, neutral, 1f610, emoji, surrogate, multilingual, plane, although, asserted, actually, unescaped, consequence, disallowing, maximum, terminators, spouse, trevor, thomas, catherine, 4567, 212, 1234, phone_numbers, 10021, 3100, postal_code, york, city, street, street_address, age, is_alive, smith, last_name, john, first_name, shows, person, stating, shall, evil, mocking, corporate, lawyers, who, overly, pedantic, hand, usually, imply, licenses, compatibility, superseding, preserving, obsoleted, jtc, scripting, generating, readily, lists, precursor, digital, asset, trading, game, named, communities, plug, proprietary, manipulate, upon, discovery, digigroups, noosh, frames, field, refreshing, context, realizing, rich, html, netscape, explorer, found, sold, eds, sun, microsystems, dhtml, citation, cartoon, orbit, popularized, acronym, originated, company, cofounded, agreed, build, stateful, persistent, duplex, connection, holding, two, connections, recycling, outs, further, round, discussion, voted, whether, well, launched, 2005, began, offering, jsml, hypertext, transfer, abstraction, layer, grew, need, session, communication, plugins, applets, dominant, methods, informational, 2006, remains, consistent, covers, security, said, lot, argument, pronounce, don, care, argonauts, sent, chip, morningstar, derived, generate, filenames, store, consisting, diverse, servers, electronic, serializable, yes, extended, public, uniform, identifier, uti, logo, möbius, strip, redirects, son, encyclopedia, item, mediawiki, abstract, printable, download, print, export, switch, get, shortened, url, cite, permanent, talk, tiếng, việt, oʻzbekcha, ўзбекча, українська, türkçe, ไทย, தமிழ், svenska, српски, srpski, shqip, slovenščina, русский, română, português, polski, norsk, bokmål, nederlands, melayu, മലയാളം, latviešu, lietuvių, кыргызча, 한국어, qaraqalpaqsha, 日本語, italiano, ido, indonesia, հայերեն, magyar, hrvatski, हिन्दी, עברית, galego, français, suomi, فارسی, euskara, eesti, español, ελληνικά, deutsch, dansk, čeština, català, বাংলা, български, беларуская, azərbaycanca, العربية, top, personal, special, recent, community, portal, learn, help, contribute, random, events, navigation, jump,
Text of the page (random words):
with double quotation marks and support a backslash escaping syntax boolean either of the values true or false array an ordered list of zero or more elements each of which may be of any type arrays use square bracket notation with comma separated elements object a collection of name value pairs where the names also called keys are strings the current ecma standard states the json syntax does not impose any restrictions on the strings used as names does not require that name strings be unique and does not assign any significance to the ordering of name value pairs 18 objects are delimited with curly brackets and use commas to separate each pair while within each pair the colon character separates the key or name from its value null an empty value using the word null whitespace is allowed and ignored around or between syntactic elements values and punctuation but not within a string value four specific characters are considered whitespace for this purpose space horizontal tab line feed and carriage return in particular the byte order mark must not be generated by a conforming implementation though it may be accepted when parsing json 19 20 early versions of json such as specified by rfc 4627 required that a valid json text must consist of only an object or an array type which could contain other types within them this restriction was dropped in rfc 7158 where a json text was redefined as any serialized value numbers in json are agnostic with regard to their representation within programming languages while this allows for numbers of arbitrary precision to be serialized it may lead to portability issues for example since no differentiation is made between integer and floating point values some implementations may treat 42 42 0 and 4 2e 1 as the same number while others may not the json standard makes no requirements regarding implementation details such as overflow underflow loss of precision rounding or signed zeros but it does recommend expecting no more than ieee 754 binary64 precision for good interoperability there is no inherent precision loss in serializing a machine level binary representation of a floating point number like binary64 into a human readable decimal representation like numbers in json and back there exist published algorithms to do this conversion exactly and optimally 21 comments edit json does not provide syntax for comments 22 comments were intentionally excluded from json in 2012 douglas crockford described their design decision thus i removed comments from json because i saw people were using them to hold parsing directives a practice which would have destroyed interoperability 22 lint edit json disallows trailing commas a comma after the last value inside a data structure 23 trailing commas are a common feature of json derivatives to improve ease of use 24 interoperability edit rfc 8259 describes certain aspects of json syntax that while legal per the specifications can cause interoperability problems certain json implementations only accept json texts representing an object or an array for interoperability applications interchanging json should transmit messages that are objects or arrays the specifications allow json objects that contain multiple members with the same name the behavior of implementations processing objects with duplicate names is unpredictable for interoperability applications should avoid duplicate names when transmitting json objects the specifications specifically say that the order of members in json objects is not significant for interoperability applications should avoid assigning meaning to member ordering even if the parsing software makes that ordering visible while the specifications place no limits on the magnitude or precision of json number literals the widely used javascript implementation stores them as ieee754 binary64 quantities for interoperability applications should avoid transmitting numbers that cannot be represented in this way for example 1e400 or 3 141592653589793238462643383279 earlier ietf specifications for json did not require utf 8 but rfc 8259 requires json text exchanged between systems that are not part of a closed ecosystem to be encoded in utf 8 the specifications do not forbid transmitting byte sequences that incorrectly represent unicode characters for interoperability applications should transmit messages containing no such byte sequences the specification does not constrain how applications go about comparing unicode strings for interoperability applications should always perform such comparisons code unit by code unit in 2015 the ietf published rfc 7493 describing the i json message format a restricted profile of json that constrains the syntax and processing of json to avoid as much as possible these interoperability issues semantics edit while json provides a syntactic framework for data interchange unambiguous data interchange also requires agreement between producer and consumer on the semantics of specific use of the json syntax 25 one example of where such an agreement is necessary is the serialization of data types that are not part of the json standard for example dates and regular expressions metadata and schema edit the official mime type for json text is application json 26 and most modern implementations have adopted this legacy mime types include text json text x json and text javascript 27 the standard filename extension is json 28 json schema specifies a json based format to define the structure of json data for validation documentation and interaction control it provides a contract for the json data required by a given application and how that data can be modified 29 json schema is based on the concepts from xml schema xsd but is json based as in xsd the same serialization deserialization tools can be used both for the schema and data and it is self describing it is specified in an internet draft at the ietf with the latest version as of 2024 being draft 2020 12 30 there are several validators available for different programming languages 31 each with varying levels of conformance the json standard does not support object references but an ietf draft standard for json based object references exists 32 uses edit json rpc is a remote procedure call rpc protocol built on json as a replacement for xml rpc or soap it is a simple protocol that defines only a handful of data types and commands json rpc lets a system send notifications information to the server that does not require a response and multiple calls to the server that can be answered out of order asynchronous javascript and json or ajaj refers to the same dynamic web page methodology as ajax but instead of xml json is the data format ajaj is a web development technique that provides for the ability of a web page to request new data after it has loaded into the web browser typically it renders new data from the server in response to user actions on that web page for example what the user types into a search box client side code then sends to the server which immediately responds with a drop down list of matching database items json has seen ad hoc usage as a configuration language despite lacking native support for comments see comments mongodb uses json like data for its document oriented database some relational databases have added support for native json data types such as jsonb in postgresql 33 and json in mysql 34 this allows developers to insert json data directly without having to convert it to another format safety edit json being a subset of javascript can lead to the misconception that it is safe to pass json texts to the javascript eval function this is not safe due to certain valid json texts specifically those containing u 2028 line separator or u 2029 paragraph separator not being valid javascript code until javascript specifications were updated in 2019 and so older engines may not support it 14 to avoid the many pitfalls caused by executing arbitrary code from the internet a new function json parse was first added to the fifth edition of ecmascript 35 which as of 2017 is supported by all major browsers for non supported browsers an api compatible javascript library is provided by douglas crockford 36 in addition the tc39 proposal subsume json made ecmascript a strict json superset as of the language s 2019 revision 15 16 various json parser implementations have suffered from denial of service attack and mass assignment vulnerability 37 38 alternatives edit see also comparison of data serialization formats json is promoted as a low overhead alternative to xml as both of these formats have widespread support for creation reading and decoding in the real world situations where they are commonly used 39 depending on the specific use case json alternatives include for textual formats csv and supersets of json see below ion also offers a textual format that s a json superset wider range of primary types annotations comments and allowing trailing commas 40 for faster processing at the cost of human readability data interchange formats that can express all json objects i e that have a data model that is a superset of json s include cbor an ietf rfc standard and ion binary 40 google protocol buffers can also fill this niche due to the ability to be parsed without a schema but it is not intended as an interchange language in addition databases such as sqlite and postgresql have their own internal binary representations called jsonb not intended for outside use 41 xml edit main article xml xml has been used to describe structured data and to serialize objects various xml based protocols exist to represent the same kind of data structures as json for the same kind of data interchange purposes data can be encoded in xml in several ways the most expansive form using tag pairs results in a much larger in character count representation than json but if data is stored in attributes and short tag form where the closing tag is replaced with the representation is often about the same size as json or just a little larger 42 however an xml attribute can only have a single value and each attribute can appear at most once on each element xml separates data from metadata via the use of elements and attributes while json does not have such a concept another key difference is the addressing of values json has objects with a simple key to value mapping whereas in xml addressing happens on nodes each of which receives a unique id via the xml processor additionally the xml standard defines a common attribute xml id that can be used by the user to set an id explicitly xml tag names cannot contain any of the characters nor a space character and cannot begin with or a numeric digit whereas json keys can even if quotation mark and backslash must be escaped 43 xml values are strings of characters with no built in type safety xml has the concept of schema that permits strong typing user defined types predefined tags and formal structure allowing for formal validation of an xml stream json has several types built in and has a similar schema concept in json schema xml supports comments while json does not 44 22 supersets edit support for comments and other features have been deemed useful which has led to several nonstandard json supersets being created among them are hjson 45 hocon and json5 which despite its name is not the fifth version of json 46 47 yaml edit see also yaml json yaml version 1 2 is a superset of json prior versions were not strictly compatible for example escaping a slash with a backslash is valid in json but was not valid in yaml 48 yaml supports comments while json does not 48 46 22 cson edit cson coffeescript object notation uses significant indentation and unquoted keys and assumes an outer object declaration it was used for configuring github s atom text editor 49 50 51 there is also an unrelated project called cson cursive script object notation that is more syntactically similar to json 52 hocon edit hocon human optimized config object notation is a format for human readable data and a superset of json 53 the uses of hocon are it is used mostly along with the play framework 54 and is developed by lightbend it is also supported as a configuration format for net projects via akka net 55 56 and puppet 57 tibco streaming 58 hocon is the primary configuration file format for the tibco streaming 59 family of products streambase liveview and artifact management server as of tibco streaming release 10 60 it is also the primary configuration file format for several subsystems of exabeam advanced analytics 61 jitsi uses it as the new config system and properties files as fallback 62 63 json5 edit json5 json5 data interchange format is an extension of json syntax that like json is also valid javascript syntax the specification was started in 2012 and finished in 2018 with version 1 0 0 64 the main differences to json syntax are example needed optional trailing commas unquoted object keys single quoted and multiline strings additional number formats comments json5 syntax is supported in some software as an extension of json syntax for instance in sqlite 65 jsonc edit jsonc json with comments is a subset of json5 used in microsoft s visual studio code 66 67 supports single line comments and block comments 68 accepts trailing commas but they are discouraged and the editor will display a warning derivatives edit several serialization formats have been built on or from the json specification examples include geojson a format designed for representing simple geographical features 69 70 json ld a method of encoding linked data using json 71 72 json rpc a remote procedure call protocol encoded in json 73 jsonml a lightweight markup language used to map between xml and json 74 75 smile data interchange format 76 77 ubjson a binary computer data interchange format imitating json but requiring fewer bytes of data 78 79 jsonnet is a prototype based domain specific language that produces json files all json documents are valid jsonnet programs that will be emitted unchanged when run jsonnet extends json by supporting variables imports loops comments etc 80 81 jsonnet is used as a configuration language for cloud infrastructure engineering 82 see also edit bson comparison of data serialization formats extensible data notation amazon ion a superset of json though limited to utf 8 like json for interchange unlike general json jackson api jaql a functional data processing and query language most commonly used for json query processing jq a json query language and high level programming language jsoniq a json oriented query and processing language based on xquery json streaming s expression notes edit references edit 1 2 3 crockford douglas august 28 2011 the json saga video yui library retrieved february 21 2022 via youtube transcript archived 2019 10 30 from transcript vids 1 2 3 iso iec 21778 2017 information technology the json data interchange syntax iso retrieved june 24 202...
|