wand_core v0.3.2 WandCore.Opts View Source

Helper module for manipulating opts of a WandCore.WandFile.Dependency

This is used in conjunction with the JSON encoder to ensure that atoms are properly encoded/decoded

Link to this section Summary

Functions

Decodes a map or list of options by changing string values from ":name" to "name"

Encodes a map or list of options by changing atom values into ":atom_name"

Link to this section Types

Link to this section Functions

Link to this function decode(opts) View Source
decode(t()) :: t()

Decodes a map or list of options by changing string values from ":name" to "name"

Link to this function encode(opts) View Source
encode(t()) :: t()

Encodes a map or list of options by changing atom values into ":atom_name"