Skip to content

Parsing from stream leads to an array #589

Description

@matsbror

Hello,

I parse the following file from a stream:

{
  "anInt": 500,
  "aString": "fixed"
}

Then I send it to an output stream with dump(4), which yields the following output:

[
    {
        "aString": "fixed",
        "anInt": 500
    }
]

It has become embedded in an array. Do you know why and how can I get around it?
If it is consistent, I can of course deal with it as it is.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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