Skip to content

Possibility to render quoted keys? #137

@markus1189

Description

@markus1189

In dhall-lang/dhall-json#41 there is a problem with quoting keys of objects using the yaml library.

The issue is that string keys are never quoted which might lead to unintentional conversion. For example if you convert a string key "NO" to a yaml like this:

NO: Norway

the NO is now a boolean in YAML and no longer a string. Is there anyway to force the quoting of the key in that case?

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