Skip to content

Don't suppress newlines in objects/maps #27

@ludoo

Description

@ludoo

This makes it very hard to consume a variable type:

>>> pygohcl.loads('''
... variable "foo" {
...   type = object({
...     bar = string
...     baz = number
...   })
... }
... ''')
{'variable': {'foo': {'type': 'object({bar=stringbaz=number})'}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions