✨ ARCANUM RUNE DIFFICULTY: Apprentice Structural

The Compatibility Glyph (Adapter)

Translating one stream format into another expected by subsequent pipes.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Adapter
ARCANUM SCHOOL: Transmutation // Streamweaving
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
# Adapter: Convert CSV-like input to JSON-like output
/^\([^,]*\),\([^,]*\)/ {
  s/^\([^,]*\),\([^,]*\)/{"key": "\1", "value": "\2"}/
}
Runic Tags: #sed #structural #adapter