Skip to content

JSON which is an array #40

@kirkins

Description

@kirkins

Trying to convert JSON which is an array rather than a single object and I get back the following error:

ERROR Decoding JSON at line 1: json: cannot unmarshal array into Go value of type map[string]interface {}

Source of data https://pressbooks.online.ucf.edu/wp-json/pressbooks/v2/books/

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