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
Hi, I am wondering how to best go on about parsing a very large XML. For example coming as a stream from fs. This is for files that are larger than RAM available (for example running in a docker or kubernetes container, or on Raspberry Pi).
I see in examples on the main page:
// Intermediate obj
var tObj = parser.getTraversalObj(xmlData,options);
var jsonObj = parser.convertToJson(tObj,options);
But not sure if this is supposed to be used with something like a generator invoking next() or in a stream?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am wondering how to best go on about parsing a very large XML. For example coming as a stream from fs. This is for files that are larger than RAM available (for example running in a docker or kubernetes container, or on Raspberry Pi).
I see in examples on the main page:
But not sure if this is supposed to be used with something like a generator invoking
next()
or in a stream?Beta Was this translation helpful? Give feedback.
All reactions