wand_core v0.3.2 Wand.WandEncoder View Source

A Poison encoder for WandCore.WandFile

It differs from the normal JSON encoding of a struct in the following ways:

  1. The dependencies map is sorted by key name
  2. Options are inlined and not pretty-printed, even though the rest of the object is
  3. Atoms in a WandCore.WandFile.Dependency are encoded as :atom_name