Skip to content

Usecase for SafeJSON/SafeYAML #453

@sewnie

Description

@sewnie

I have noticed in all types in ghw, there are utility methods for the types to return a JSON or YAML representation that cannot be marshaled back. The only use this has is specific to the ghwc utility, to represent information. Instead, why is there no implementations for json Marshaler and similar for yaml? Additionally, there are more utility functions for representing the values in a safe format for JSON or YAML, which is completely unnecessary as JSON and YAML are both able to translate to and from the values as necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions