Module cloud.opencode.base.yml


module cloud.opencode.base.yml
OpenCode Base YML Module OpenCode 基础 YAML 模块

Provides lightweight YAML processing capabilities via SPI mechanism, supporting SnakeYAML and other implementations.

通过 SPI 机制提供轻量级 YAML 处理能力,支持 SnakeYAML 等实现。

Key Features | 主要功能:

  • OpenYml - Unified facade (load/dump/merge/bind) - 统一门面
  • Path access - a.b.c nested property access - 路径访问
  • Placeholder - ${key:default} syntax - 占位符解析
  • Profile merge - Multi-environment config merge - Profile 合并
  • YmlBinder - Bean binding with annotations - Bean 绑定
  • Multi-document - --- separated documents - 多文档支持
  • Security - YAML bomb protection - 安全防护
  • SPI - Pluggable engine (SnakeYAML, etc.) - SPI 可插拔
Since:
JDK 25, opencode-base-yml V1.0.0
Author:
Leon Soo