| 1 | package sarifscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ |
| 2 | |
| 3 | import "encoding/jsonscip-go gomod github.com/golang/go/src go1.16 `encoding/json`/" |
| 4 | |
| 5 | func getJsonStringscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/getJsonString().(value interface{}) string { |
| 6 | j, err := jsonscip-go gomod github.com/golang/go/src go1.16 `encoding/json`/.Marshalscip-go gomod github.com/golang/go/src go1.16 `encoding/json`/Marshal().(value) |
| 7 | if err != nil { |
| 8 | panic(err) |
| 9 | } |
| 10 | return string(j) |
| 11 | } |