Skip to content

Error unmarshalling file : Expected JSON object start, got delimiter [ instead #1974

@DennisGaida

Description

@DennisGaida

Using the following dummy data to create a dummy.json file: https://microsoftedge.github.io/Demos/json-dummy-data/64KB.json

Trying to encrypt the file using sops:

sops encrypt --age <age> dummy.json > dummy.json.enc

Receive the error: Error unmarshalling file: Could not unmarshal input data: Expected JSON object start, got delimiter [ instead.

The JSON file is perfectly valid and just starts with an array instead of on object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions