We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
referencing Marshal functionality, like in
Marshal
go-spiffe/v2/bundle/spiffebundle/bundle.go
Line 339 in e1b8af8
It would be a nice convenience if there we an option to get the json output in format like:
{ "keys": [ { "use": "x509-svid", "kty": "EC", "crv": "P-256", "x": "some_x", "y": "some_y", "x5c": [ "a_cert" ] } ] }
instead of the current result of
{"keys": [ {"use": "x509-svid","kty": "EC","crv": "P-256",...}
Not a critical issue, since consumers just have to use something like:
import "encoding/json" ... var prettyJSON bytes.Buffer if err := json.Indent(&prettyJSON, currentMarshalBytesOutput, "", " "); err != nil { return err } prettyBundleBytes := prettyJSON.Bytes()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
referencing
Marshal
functionality, like ingo-spiffe/v2/bundle/spiffebundle/bundle.go
Line 339 in e1b8af8
It would be a nice convenience if there we an option to get the json output in format like:
instead of the current result of
Not a critical issue, since consumers just have to use something like:
The text was updated successfully, but these errors were encountered: