1// Copyright (C) 2021 Storj Labs, Inc. 2// See LICENSE for copying information. 3 4package pb 5 6import "encoding/json" 7 8// MarshalJSON implements the json.Marshaler interface. 9func (cs CipherSuite) MarshalJSON() ([]byte, error) { 10 return json.Marshal(cs.String()) 11} 12