Skip to content

Yaml.Value cannot stringify itself #120

@Noodlez1232

Description

@Noodlez1232

If you attempt to stringify a struct with a Yaml.Value in it, it attempts to encode it as a Yaml.Value { .map = ... } and printing that instead of just simply stringifying the Yaml.Value struct.

I think looking at the std.json.Stringify.write() and its companion std.json.Value.jsonStringify() functions may give a bit more of an idea on how to solve this?

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