Go Programming World
Go Programming World
Aug 12, 2025 · Backend Development

Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps

This article explains how the Go dyno package lets you effortlessly read, modify, and serialize deeply‑nested JSON/YAML structures by providing Get, Set, Delete, Append and conversion utilities that work with map[string]interface{}, map[interface{}]interface{} and []interface{} without using reflection.

Code ExampleGoJSON
0 likes · 23 min read
Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps
Go Programming World
Go Programming World
Aug 4, 2025 · Backend Development

Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)

This article explains why converting a YAML document containing both numeric and string keys (e.g., 1 and "1") to JSON fails in Go using yaml.v3, demonstrates the resulting errors, and shows how to resolve the issue with dyno.ConvertMapI2MapS or alternative libraries, while also comparing behavior in Python and JavaScript.

Data ConversionGoJSON
0 likes · 17 min read
Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)
Tencent Cloud Developer
Tencent Cloud Developer
Jul 18, 2022 · Fundamentals

Compile-Time Polymorphism in C++: Implementation with folly::poly and dyno

The article explains how compile‑time polymorphism in modern C++—using libraries like folly::poly and dyno—can replace traditional virtual‑table based runtime polymorphism by employing small‑object optimization, compile‑time generated VTables, and type‑erased wrappers, delivering near‑virtual performance without inheritance or heap allocation.

C++Type Erasurecompile-time polymorphism
0 likes · 20 min read
Compile-Time Polymorphism in C++: Implementation with folly::poly and dyno