IT Glossary
What is JSON?
JavaScript Object Notation: the simple, universal text format applications use to send each other data — the common tongue of integrations.
- 6
- sections
- 5
- questions answered
JSON (JavaScript Object Notation) is a simple, standardised text format (RFC 8259, ECMA-404) that applications use to write and exchange structured data: key-value pairs and lists that both programs and people can read. When two applications talk — a store requesting a shipping label, accounting software checking a company's VAT registration through the tax authority's API, a website loading its product list — the messages almost always travel as JSON, nested as needed: {"client": "Acme Ltd", "total": 1250, "items": [...]}. It won the format wars through simplicity (XML, the dominant format before it, was heavier and noisier) and is today the lingua franca of web APIs, configuration files and many data exports. Why a businessperson benefits from recognizing it: JSON is the concrete shape a good answer takes when you ask a vendor "give us our data." At integration time, the supplier exposing a documented JSON API is the supplier who is easy to work with; at export time, data delivered as JSON (or CSV) remains reusable in any future system, whereas a PDF is a photograph of data, not data. And when a developer shows you "what the API returns," that structure with curly braces is legible to non-specialists too — a small but useful piece of transparency in technical conversations where you would otherwise have only the vendor's word.
Why it matters for your business
The common language of integrations
Every modern system speaks JSON — connecting your applications does not stumble over conversions between exotic formats.
Data humans can read too
The key-and-value structure reads with the naked eye — debugging integrations and checking data requires no special tools.
Exports that are actually data
Information received as JSON imports anywhere, today and in five years — unlike a PDF, which is merely its photograph.
JSON syntax: objects, arrays and data types
JSON has two structures. An object, in curly braces, groups "key": value pairs; an array, in square brackets, lists values. Keys are strings in double quotes and should be unique within an object. Values come in four simple types: a string in double quotes, a number, true or false (no quotes) and null. Any value can be a valid JSON text on its own, not just an object.
A one-line example: {"cui": 1234, "platitorTva": true, "facturi": [101, 102], "observatii": null}. The standard allows no comments and no comma after the last element; those are the two mistakes that most often break a hand-written JSON file.
Where a business meets JSON
Most often in APIs: the Romanian tax authority's VAT-check API takes a JSON list of {"cui", "data"} entries and answers in JSON too. Then in webhooks (an order or payment notification arrives as JSON), configuration files, platform exports and databases that store JSON documents (PostgreSQL has the json and jsonb types; MongoDB uses a JSON-like binary format).
e-Factura is the exception: the invoice is uploaded as XML (UBL), not JSON, so a Romanian business's software speaks both formats. The difference is explained under the XML term in this glossary.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
How to open and convert a .json file
A .json file is plain text, so any editor opens it: Notepad, Notepad++ or VS Code. Modern browsers can show it formatted, with collapsible sections. In Excel you import it through the Power Query connector: Data > Get Data > From File > From JSON; nested data is flattened into a table automatically.
Be careful with free online validators and formatters: do not paste files containing client or personal data, because the data leaves the company, which raises GDPR issues. Use a local editor or Excel for such files.
JSON, XML or CSV
CSV is a flat table: ideal for simple lists and Excel, but with no nesting (an order with several lines needs several rows or files). JSON keeps data in levels and is the API standard. XML has schemas and strict validation, which is why it stayed in fiscal standards (e-Factura UBL, SAF-T).
A useful rule when requesting an export: ask for JSON or CSV, never only a PDF.
Frequently asked questions
JSON or XML — does the difference still matter?
For new systems, JSON has won almost everywhere; XML survives in established standards — including many national e-invoicing formats and older enterprise exchanges. In practice your applications will speak both where context demands, and your takeaway is simply that both are structured data — the good thing.
Can I open a JSON file without technical knowledge?
Yes. A JSON file is plain text: open it in Notepad or a browser, which displays it formatted. For a table, import it into Excel with Data > Get Data > From File > From JSON. No programming is needed, only care not to upload client data to online formatters.
Why do developers ask suppliers for "JSON examples" during integrations?
A real sample response is worth ten pages of description: it shows exactly which fields exist, how they are named and how values are formatted — the integration is built and tested against it. A supplier unable to produce examples and API documentation is announcing the quality of the collaboration in advance.
What does JSON stand for?
JSON stands for JavaScript Object Notation. Its syntax derives from JavaScript object literals, but the format is language-independent: almost every programming language can read and write it. Douglas Crockford proposed the format, and it is defined in RFC 8259 and in the ECMA-404 standard.
JSON or CSV for a data export?
CSV suits flat tables you open in Excel. JSON is better when the data has levels (an order with several lines, a client with several addresses) or when it goes into another system. When unsure, ask for both formats; a PDF is not a data export.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851