Skip to content

9. Non-goals

  • Binary encoding: ECSON is text only. For binary efficiency, use formats such as CBOR or MessagePack.
  • References and cycles: ECSON does not preserve shared or circular references; serializing a circular value fails (CIRCULAR_FAIL).
  • Schema validation: ECSON validates only the serialized form of each type (TYPEDEF_VALIDATE). Validating the shape of documents is left to schema languages applied after deserialization.
  • Streaming: ECSON does not define incremental serialization or parsing.
  • Functions: ECSON never serializes functions (FUNCTION_NOT_SERIALIZED), because reading them back would mean evaluating code received in the data.
  • Storage format: ECSON is a serialization for transport. Data stores keep values in their native types; ECSON does not define how they are stored.

Source: lingodata/ecson@fe27835 · spec/sections/09-non-goals.md · ecson 0.2.0 (draft)

LingoData specifications, reference implementations and this site are licensed under the Apache License 2.0. Copyright 2026 Gustavo Gondim.