python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
"not well-formed (invalid token): " error for trying to parse an XML file
I am having this error. I am trying to access an xmlfile called "people-kb.xml".
I am having the problem on a line known as: xmldoc = minidom.parse(xmlfile) #Accesses file.
xmldoc is "p...
randomUser1212421
Votes: 0
Answers: 1
RUBY parse nested JSON Object
I have a ruby script that works pretty well. I'm parsing JSON from an API and passing it into and array.
Most of the top elements parse fine. But I have a nested object that looks like this after it...
hollecar
Votes: 0
Answers: 1
How to split incoming json stream into individual json messages in NodeJS
I am looking for a solution which could be piped to my existing streams so that this input:
{ "foo":"bar" }{ "foo": { "foo": "bar" }}
Would display t...
ablaszkiewicz1
Votes: 0
Answers: 1
Search for string or number in a string or number
I'm trying to implement a search of an object with multiple key/value pairs that can be either string or number.
This is what I'm currently using (simplified, of course):
const input = 'Hello WORld 21...
Markstar
Votes: 0
Answers: 1