github.com/trim21/go-phpserialize@v0.0.22-0.20240301204449-2fca0319b3f0/marshal.go (about)

     1  package phpserialize
     2  
     3  import "github.com/trim21/go-phpserialize/internal/encoder"
     4  
     5  func Marshal(v any) ([]byte, error) {
     6  	return encoder.Marshal(v)
     7  }