Skip to content

VatsaShivam/BCYAMLFILE-CREATION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Read & Write YAML in AL (Business Central)

πŸ“Œ Overview

Business Central AL now supports YAML via the existing JsonObject type:

Read YAML:

  • JsonObject.ReadFromYaml(string)
  • JsonObject.ReadFromYaml(InStream)

Write YAML:

  • JsonObject.WriteToYaml(string)
  • JsonObject.WriteToYaml(OutStream)

These methods let you convert YAML ↔ JSON seamlessly, read it into AL, manipulate it, and export it again

Use Cases

  • Data-driven testing: Easily load YAML test cases, process them as JSON, and convert back if needed .
  • CI/CD pipeline processing: Read pipeline YAML files directly in AL to drive business logic .
  • Interoperability: Convert and exchange config data between JSON and YAML formats.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages