Skip to content

Not processing json #28

@indigohedgehog

Description

@indigohedgehog

At pivot.js in function init() if a json is passed, it goes to function processJSON(input) and makes a JSON.parse(input), so if a json like [[header1,...headerN],[contentA1..contentA2]..] is passed it breaks. Yet, if a [{header1:contentA1,..headerN:contentA1},{..},..] is passed it succeeds, but then it doesn't get processed on function processHeaderRow(row) because it uses rows like [h1..hn]. Function processRow(row, header, pseudoFields) has the same issue.

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