JSON
Definition
JavaScript Object Notation, a lightweight, text-based, language-independent format for structured data, defined in RFC 8259.
Disclosure. This site is published by Coragrid, the operator of CompanyRegistryAPI.com, and promotes it. “Best” is our editorial choice, not a measured ranking. Other products are described only from their own official pages. How we choose
Also called: JavaScript Object Notation.
In practice
Parse responses with your language’s JSON library, treat absent members as “not published” rather than as defaults, and use a tool such as jq to explore responses from the command line.
Questions and answers
Do company data APIs all return JSON?
Most do, but check. OpenCorporates returns JSON by default and XML on request, and Brønnøysund serves JSON in HAL format.
Is problem+json still JSON?
Yes. application/problem+json is JSON with an agreed set of members for errors, defined in RFC 9457.
Sources for this entry
- RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format
- CompanyRegistryAPI.com API docs
- OpenCorporates API Reference
- Documentation for Open Data from the Central Coordinating Register for Legal Entities
Each source supports only what its publisher says about its own product or data. Official descriptions do not establish comparative performance, and this site has run no benchmark. All sources
Continue reading
- Problem details (Definition)
- The first three requests (Guide)
- Company data from the command line (Guide)
How the related websites connect
This is one of 3 coordinated reference sites published by Coragrid. They cover neighbouring questions and feature the same product, so they are not independent endorsements of it or of each other.
Cite this entry
Best Company Data API. “JSON.” Content reviewed . https://bestcompanydataapi.com/glossary/json