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
I am unable to replicate this without more information, if you are able to provide it that would be great. With the example test samples search is correctly outputting JSON, an example command is this:
Yeah, I'm trying to find some sample data that I can duplicate it on that I can also release. I can summarize a bit though. First, the JSON is surrounded by []. Second, it almost looks like some ASCII characters were replaced by similar looking Unicode characters. I'll keep trying to reproduce though.
Right have finally worked this one out, it looks like Powershell is messing with the encoding. The current work around is to use --output rather than file redirection. Once we work out what Powershell is doing then we might be able to fix it.
The JSON output for "search" puts a [] around the JSON data and introduces other formatting errors.
From Firefox:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data.
Even if I remove the []'s, I still get that.Get-Content -Raw .\output.json | ConvertFrom-Json
returns blank data as well.This is chainsaw version 1.1.5 on Windows 10.
The text was updated successfully, but these errors were encountered: