Skip to content

Technology Quote by Eric Freeman

“Note that the JSON format doesn’t work with methods (so you can’t include, say, a bark method in your JSON string), but it does work with all the primitive types, as well as objects and arrays.” quote by Eric Freeman
Download Open image
““Note that the JSON format doesn’t work with methods (so you can’t include, say, a bark method in your JSON string), but it does work with all the primitive types, as well as objects and arrays.””

Eric Freeman

About This Quote

Source Book: Head First Design Patterns, 2004

The quote explains that JSON is limited to data representation and cannot include functions, but it supports all basic data types and structures.

In simple terms: JSON holds data, not behavior.

Key Takeaway

Use JSON for data exchange, not code.

Themes

software development data serialization programming constraints

Mood

technical informative

Type

educational practical

When to use this quote

  • API design
  • configuration files
  • data storage

Key Concepts

JSON syntax primitive types objects and arrays

Questions to Reflect On

  • When might you need a format that includes methods?
  • How do you handle behavior in JSON‑based systems?
A Different Perspective

JSON cannot execute logic, limiting dynamic behavior.

3.9 out of 5 (5 ratings)

More by Eric Freeman

Explore all 90 Eric Freeman quotes

More Technology quotes

Browse all 12,247 Technology quotes