Registry / serialization / jszwec-csvutil

jszwec-csvutil

JSON →
library1.10.0gogounverified

Provides fast and idiomatic mapping between CSV and Go values.

go get github.com/jszwec/csvutil
INSTALL
IMPORT
SIG · JSZWEC-CSVUTIL
J
jszwec-csvutil
serializationgov1.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

csvutil
github.com/jszwec/csvutil

Unmarshal CSV data into a slice of structs.

package main import ( "fmt" "strings" "github.com/jszwec/csvutil" ) type User struct { Name string `csv:"name"` Age int `csv:"age"` } func main() { data := "name,age\nJohn,30\nJane,25" var users []User csvutil.Unmarshal([]byte(data), &users) fmt.Println(users) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.10.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jszwec-csvutil — go get jszwec-csvutil · libregistry