すべてのオプション
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 kB36.0 kB [ファイル一覧]