Skip to content

Empty structs fail to marshal #1

@alexzorin

Description

@alexzorin

If, in your README example, you make Square not have any struct fields:

type Square struct {
}

then it will fail to marshal the container:

invalid character '}' looking for beginning of object key string

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