Serializes %Ash.Info.Manifest{} structs to JSON.
Recursively converts structs to maps, converting module atoms to strings and omitting nil fields.
Summary
Functions
Serialize an %Ash.Info.Manifest{} to a JSON string.
Convert an %Ash.Info.Manifest{} to a plain map (suitable for JSON encoding).
Functions
@spec to_json( Ash.Info.Manifest.t(), keyword() ) :: {:ok, String.t()} | {:error, term()}
Serialize an %Ash.Info.Manifest{} to a JSON string.
@spec to_map(Ash.Info.Manifest.t()) :: map()
Convert an %Ash.Info.Manifest{} to a plain map (suitable for JSON encoding).