Every Format Is a Costume the Data Model Wears
How DataWeave's reader/writer model turns JSON, Java, and everything else into the same shape — and how reader/writer properties tune both sides.
Real formats and real problems — XML, CSV and flat files, dates, the standard library, modules, testing, and streaming at scale.
How DataWeave's reader/writer model turns JSON, Java, and everything else into the same shape — and how reader/writer properties tune both sides.
Attributes, namespaces, repeated elements, mixed content, CDATA — and the single-versus-many array gotcha that eats an afternoon if you don't know it.
Delimited and positional data in DataWeave — CSV reader/writer properties, schema-driven fixed-width parsing, and a nod to Excel and multipart.
DataWeave's temporal types, format-schema parsing and formatting, Period arithmetic, and the timezone shifts and coercion bugs that bite everyone once.
A working tour of dw::core — the Strings, Arrays, and Objects functions that actually earn their keep, plus DataWeave's regex, and how to find everything else.
Pull reusable logic into a .dwl module, import it cleanly, and pin its behaviour with the dw CLI, MUnit, and golden-file tests — because a transform is code, and pure functions are a joy to test.
How DataWeave streams — deferred evaluation, streaming reader properties, @StreamCapable, and deferred output — and the everyday operations that quietly pull your whole gigabyte into memory.
The capstone: take a namespaced XML order feed with repeated elements, mixed date formats, and money as strings, and build a normalized JSON report end to end — selectors, a helper module, dates, coercion, groupBy+reduce, and conditional keys, in a few reasoned steps.