You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you checked the docs for helpful APIs and examples?
Description
I've been testing this to replace xml2json since it doesn't seem to be maintained. I've been able to get this working for my data, however I need unpaired to parse as an empty object like my previous parser did. This was supposed to be done with v5. However, following the documentation v5 just errors out as not being found. Changing things to src/v5/... results in the same.
Input
followed the documentation for v5. Importing XMLParser from 'fast-xml-parser' works, but I don't get the output I'm looking for.
Could not find a declaration file for module 'fast-xml-parser/src/v5/XMLParser'. 'f:/Local Documents/Documents/VisualStudioCodeProjects/FGU-Extension-LocalClient/node_modules/fast-xml-parser/src/v5/XMLParser.js' implicitly has an 'any' type.
If the 'fast-xml-parser' package actually exposes this module, try adding a new declaration (.d.ts) file containing declare module 'fast-xml-parser/src/v5/XMLParser';
expected data
I'd expect to be able to use v5 to test the object parsing.
Would you like to work on this issue?
Yes
No
The text was updated successfully, but these errors were encountered:
We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.
Description
I've been testing this to replace xml2json since it doesn't seem to be maintained. I've been able to get this working for my data, however I need unpaired to parse as an empty object like my previous parser did. This was supposed to be done with v5. However, following the documentation v5 just errors out as not being found. Changing things to src/v5/... results in the same.
Input
followed the documentation for v5. Importing XMLParser from 'fast-xml-parser' works, but I don't get the output I'm looking for.
Code
Output
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'F:\Local Documents\Documents\VisualStudioCodeProjects\FGU-Extension-LocalClient\node_modules\fast-xml-parser\v5\XMLParser'
Or
Could not find a declaration file for module 'fast-xml-parser/src/v5/XMLParser'. 'f:/Local Documents/Documents/VisualStudioCodeProjects/FGU-Extension-LocalClient/node_modules/fast-xml-parser/src/v5/XMLParser.js' implicitly has an 'any' type.
If the 'fast-xml-parser' package actually exposes this module, try adding a new declaration (.d.ts) file containing
declare module 'fast-xml-parser/src/v5/XMLParser';
expected data
I'd expect to be able to use v5 to test the object parsing.
Would you like to work on this issue?
The text was updated successfully, but these errors were encountered: