{ "type": "File", "start":0,"end":71,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":71,"index":71}}, "errors": [ "SyntaxError: A JSON module can only be imported with `default`. (1:18)" ], "program": { "type": "Program", "start":0,"end":71,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":71,"index":71}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "ImportDeclaration", "start":0,"end":71,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":71,"index":71}}, "specifiers": [ { "type": "ImportDefaultSpecifier", "start":7,"end":14,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":14,"index":14}}, "local": { "type": "Identifier", "start":7,"end":14,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":14,"index":14},"identifierName":"fixture"}, "name": "fixture" } }, { "type": "ImportSpecifier", "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23}}, "imported": { "type": "Identifier", "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23},"identifierName":"named"}, "name": "named" }, "local": { "type": "Identifier", "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23},"identifierName":"named"}, "name": "named" } } ], "source": { "type": "StringLiteral", "start":31,"end":47,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":47,"index":47}}, "extra": { "rawValue": "./fixture.json", "raw": "\"./fixture.json\"" }, "value": "./fixture.json" }, "assertions": [ { "type": "ImportAttribute", "start":57,"end":69,"loc":{"start":{"line":1,"column":57,"index":57},"end":{"line":1,"column":69,"index":69}}, "key": { "type": "Identifier", "start":57,"end":61,"loc":{"start":{"line":1,"column":57,"index":57},"end":{"line":1,"column":61,"index":61},"identifierName":"type"}, "name": "type" }, "value": { "type": "StringLiteral", "start":63,"end":69,"loc":{"start":{"line":1,"column":63,"index":63},"end":{"line":1,"column":69,"index":69}}, "extra": { "rawValue": "json", "raw": "\"json\"" }, "value": "json" } } ] } ], "directives": [] } }