Open coopdetat opened 7 years ago
@coopdetat What version are you running? (i.e. json2csv --version
)
1.2.0
The same issue 2018/11/01 19:41:46 ERROR Decoding JSON at line 1: invalid character 'ï' looking for beginning of value. The difference is in output if you set up stdout - ok, if " > file.csv" - this error. same if set up -o file
Trying to test this and I am unable to get anything to output into my csv file through powershell.
I created a file with the JSON data from the README just copy/pasted (test2.json) and when running
json2csv -k user.name,remote_ip -i test2.json -o output.csv
it hangs and then gives the error "ERROR Decoding JSON at line 1: unexpected end of JSON input." I've attached the data as a text file for reference.
test2.txt