Skip to Main Content
InterSystems Ideas
We love hearing from our users. Tell us what you want to see next and upvote ideas from the community.
* Bugs and troubleshooting should as usual go through InterSystems support.
Status Done by Community
Created by Yuri Marx
Created on Sep 24, 2025

YamlAdaptor objectscript class

The YML Adaptor is a means for mapping ObjectScript objects (registered, serial or persistent) to YAML text or dynamic entities. When a class extends YmlAdaptor it will be able to:

  1. YMLExport() serializes a YAML enabled class as a YMAL document and writes it to the current device.

  2. YMLExportToStream() serializes a YAML enabled class as a YAML document and writes it to a stream.

  3. YMLExportToString() serializes a YAML enabled class as a YAML document and returns it as a string.

  4. YMLImport() imports either YAML as a string or stream, and returns an instance of the YAML enabled class.

  • ADMIN RESPONSE
    Oct 31, 2025

    Thank you for submitting the idea.

    This idea was implemented by Developer Community member(s). Please check the solution in the comments.

  • Admin
    Irene Mikhailova
    Oct 31, 2025

    @Guest thank you for the implementation of this idea!

    🖥 Download the app here: yaml-adaptor