всички настройки
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Източник: golang-github-bep-tmc  ]

Пакет: golang-github-bep-tmc-dev (0.5.1-3)

Връзки за golang-github-bep-tmc-dev

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник golang-github-bep-tmc.

Отговорници:

Външни препратки:

Подобни пакети:

provides round-trip serialization of typed Go maps

Codec for a Typed Map

bep/tmc provides basic roundtrip JSON etc. encoding/decoding of a map[string]interface{} with custom type adapters.

Text based serialization formats like JSON and YAML are convenient, but when used with Go maps, most type information gets lost in translation. For structs, one can work around some of the limitations with custom MarshalJSON, UnmarshalJSON, MarshalText and UnmarshalText. For the commonly used flexible and schema-less "map[string]interface {}", this is, as the author is aware of, not an option. This library provides a solution to this problem.

See the GoDoc at https://godoc.org/github.com/bep/tmc for some basic examples and how to configure custom codec, adapters, etc.

Други пакети, свързани с golang-github-bep-tmc-dev

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на golang-github-bep-tmc-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 8,1 кБ36,0 кБ [списък на файловете]