Skip to content

JSON column containing object or array of objects gets quoted as a string - breaks parsing downstream #221

@dhenson02

Description

@dhenson02

Updating a table with JSON columns will treat the row data as a standard string, adding erroneous double-quotes around the value, instead of returning as an array/object.

Example result (from .columns):

{"name":"account_no_history","value":"[{"acc":"3597","createdby":"Viztek,Pacs","createddt":"2015-09-24T17:14:30.728Z"}]"}

This throws when attempting to parse (tried jq and Node)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions