Skip to content

Un parse error #41

@ideea

Description

@ideea

Hello, trying to parse large json file and I have an error. Only first object is parsed and then there's some error.

$response = JsonMachine::fromFile(storage_path('app/file.json'), '/products', new ErrorWrappingDecoder(new ExtJsonDecoder()));

this is the code I used (also tried with PassThruDecoder) and json_decode by myself, but it does not work cause all items doesn't have { at the beginning.

attaching test json file.

"identifiers": {} ---> this line cause error.

test.txt

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