JSON (JavaScript Object Notation)
JSON e um formato leve de troca de dados que e facil de ler e escrever para humanos e facil de analisar e gerar para maquinas. E o formato de dados dominante para APIs web, ficheiros de configuracao e armazenamento de dados estruturados.
Tipo MIME
application/json
Tipo
Texto
Compressรฃo
Sem perdas
Vantagens
- + Human-readable and writable with minimal syntax
- + Native parsing in every programming language
- + Dominant format for REST APIs and web services
- + Lightweight โ less verbose than XML
Desvantagens
- โ No comment syntax โ cannot annotate configuration files
- โ No native date, binary, or schema types
- โ Trailing commas cause parse errors in strict parsers
Quando usar .JSON
Use JSON para dados de APIs web, ficheiros de configuracao, armazenamento NoSQL e qualquer troca de dados estruturados entre sistemas.
Detalhes tรฉcnicos
O JSON suporta seis tipos de dados: string, numero, booleano, null, array e objeto. Utiliza codificacao UTF-8 e nao permite comentarios, virgulas finais ou funcoes. O tamanho maximo de ficheiro e limitado apenas pela memoria.
Histรณrico
Douglas Crockford popularizou o JSON no inicio dos anos 2000 como um subconjunto de JavaScript. Foi formalizado na RFC 4627 em 2006 e tornou-se a norma ECMA-404 e ISO/IEC 21778 em 2017.
Converter de .JSON
Converter para .JSON
Formatos relacionados
Termos relacionados
Learn More
File Format Conversion: A Complete Guide
Converting files between formats is a daily task for professionals across every industry. This comprehensive guide covers document, image, audio, โฆ
How to Generate Strong Random Passwords
Password generation requires cryptographic randomness and careful character selection. This guide covers the principles behind strong password generation, entropy calculation, โฆ
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and โฆ
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta โฆ
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and โฆ
CSV vs JSON vs XML: Data Exchange Formats Compared
Data exchange formats serve different needs. CSV excels at tabular data, JSON dominates web APIs, and XML powers enterprise integrations. โฆ