Skip to content

v0.1.0

Choose a tag to compare

@ehsanmok ehsanmok released this 15 Apr 05:14
· 19 commits to main since this release

Initial release of morph: reflection-driven serialization and data transformation for Mojo.

Supported features:

  • Zero-boilerplate JSON, CSV, TOML, and YAML serde via compile-time reflection
  • Field renaming (camelCase, PascalCase, SCREAMING_SNAKE)
  • Serde options (skip_private, add_type, as_array, strict, default_if_missing)
  • Struct introspection (fields, field_names, as_type, replace)
  • Runtime validation (min, max, range, non_empty, one_of)
  • JSON Schema generation (Draft 2020-12)
  • Flatten (nested struct embedding)
  • CLI argument parsing (flags, positional, nested dot-notation)
  • Extensible format backend trait

API documentation: https://ehsanmok.github.io/morph/