IT:AD:SQL Server:HowTo:Work With JSON

JSON is currently one of the most commonly used data exchange formats. It optimized for portability, space, and legibility. Not for indexing and retrieval speed.

ACiD: * Advantages:

  • Provides hierarchy to key/value pairs.

* Considerations:

  • Format is used for document databases.

* Disadvantages:

  • Combines multiple entities. Blurs and obfuscates conceptual boundaries, leading to flawed analysis.
  • Not portable to other databases.
  • Not natively available via ORMs.
    • Breaks stated Design principles of Application logic transparently handling objects versus handling the serialization thereof (SQL).
  • Increases testing requirements considerably (unmockable).

Valid use cases: * Staging table for JSON imported from remote systems. * Document Store…but then why not use a document database for just that?

  • /home/skysigal/public_html/data/pages/it/ad/sql_server/howto/work_with_json.txt
  • Last modified: 2023/11/04 01:57
  • by 127.0.0.1