Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Latest commit

 

History

History
7 lines (4 loc) · 448 Bytes

json.md

File metadata and controls

7 lines (4 loc) · 448 Bytes

JSON

Think of JSON like you think of PDF files. Have you ever coded a PDF file by hand? No! Don't write JSON either.

If your application needs object definitions, data models, schemas, etc. that need to be written by hand, use JavaScript modules. JSON is great for serialization, but serialization should be done with tools and libraries, not by hand.

Using JavaScript modules gives the added benefit of logic, inheritance, and code comments.