[tests] Add a test covering #12 (non-quoted strings beginning with / are mangled.)
1 file changed
tree: bdcbfa6d7c73efd8cdb2993e9f8f80c6d373e5f0
  1. bplist.go
  2. bplist_test.go
  3. common_data_for_test.go
  4. decode.go
  5. decode_test.go
  6. doc.go
  7. encode.go
  8. encode_test.go
  9. LICENSE
  10. marshal.go
  11. marshal_test.go
  12. must.go
  13. plist.go
  14. README.md
  15. text.go
  16. text_tables.go
  17. text_test.go
  18. typeinfo.go
  19. unmarshal.go
  20. unmarshal_test.go
  21. util.go
  22. xml.go
  23. xml_test.go
README.md

plist - A pure Go property list transcoder

INSTALL

$ go get howett.net/plist

FEATURES

  • Supports encoding/decoding property lists (Apple XML, Apple Binary, OpenStep and GNUStep) from/to arbitrary Go types

USE

package main
import (
	"howett.net/plist"
	"os"
)
func main() {
	encoder := plist.NewEncoder(os.Stdout)
	encoder.Encode(map[string]string{"hello": "world"})
}