Skip to content

Feature: Preserve hash strructure when generating a TOML file #69

@pinecat

Description

@pinecat

For a given hash, preserve it's structure when generating a TOML file via TOML::Generator.

Such that:

doc = {
  "z" => 1,
  "y" => 2,
  "x" => 3
}

becomes:

z = 1
y = 2
x = 3

Current behavior is to sort the hash's keys before generating the TOML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions