Document Binding
Bind YAML, JSON, and BPMN XML documents into generated DTOs at runtime using format-neutral NodeCursor traversal. No reflection, no heuristic guessing.
Explore use case →Compile-time-first Code Generation & Mapping Platform
Generate strongly typed DTOs, binders, validators, and object mappers from YAML, JSON, and BPMN definitions. Bind documents and map between Java layers — all without runtime reflection.
Most Java applications need two things that are painful at scale: binding structured documents into typed models, and mapping data between architectural layers. TwinMapper solves both from a single definition source.
Reads YAML, JSON, and BPMN definitions at build time. Generates DTOs, enums, binders, validators, registries, and metadata. At runtime, binds documents into generated DTOs via the NodeCursor abstraction — no reflection at binding time.
Explore Document Engine →Generates typed Java-to-Java mappers for layer-crossing flows: entity↔domain, domain↔DTO, request↔command, and more. Three mapper modes — CREATE, UPDATE, and PATCH — each with explicit null-handling policies.
Explore Object Engine →Everything you need to run reliable, type-safe code generation and mapping workloads — from a developer's laptop to enterprise-scale pipelines.
Bind YAML, JSON, and BPMN XML documents into generated DTOs at runtime using format-neutral NodeCursor traversal. No reflection, no heuristic guessing.
Explore use case →Generate typed mappers for entity↔domain, domain↔DTO, request↔command flows. CREATE, UPDATE, and PATCH modes with explicit null-handling policies.
Explore use case →Generate DTOs, enums, binders, validators, registries, and metadata descriptors from a single YAML definition. Replace jsonschema2pojo and hand-written mapper code.
Explore use case →The twinmapper-codegen module is now complete with all 11 generators operational. The five-stage pipeline (Validate → Plan → Generate → Customize → Render) produces DTOs, enums, binders, validators, registries, metadata, and all three mapper modes.
Continue reading →YAML, JSON, and BPMN format readers are fully operational with 351 tests passing. Each reader parses definition files into the canonical DefinitionSet meta-model, ready for code generation.
Continue reading →The TwinMapper architecture document is now available, covering the two-engine design, 14-module structure, five-stage pipeline, NodeCursor abstraction, and all seven SPIs.
Continue reading →