Replies: 4 comments 1 reply
-
It's valid jsonlines. If you change the json file output, you'll also now have two different output formats. The stdout output is jsonlines, and that by its nature will not be an array. Diverging in behaviour between stdout and output file format would be confusing. |
Beta Was this translation helpful? Give feedback.
-
From the help command,
So how do I get json in array and not jsonlines? |
Beta Was this translation helpful? Give feedback.
-
My recommendation would be: In which case, the issue here is that the help text needs to specify that it's jsonl, not json. |
Beta Was this translation helpful? Give feedback.
-
Moving to the discussion board as it may help others. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
The resulting JSON is not valid as the objects are not packed within an array.
Nuclei version: 2.4.0
Beta Was this translation helpful? Give feedback.
All reactions