mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 17:56:56 +00:00
11 lines
237 B
Go
11 lines
237 B
Go
package output
|
|
|
|
import (
|
|
jsoniter "github.com/json-iterator/go"
|
|
)
|
|
|
|
// formatJSON formats the output for json based formatting
|
|
func (w *StandardWriter) formatJSON(output *ResultEvent) ([]byte, error) {
|
|
return jsoniter.Marshal(output)
|
|
}
|