Yamel.Encoder.Helper (yamel v2.0.4) View Source

Link to this section Summary

Link to this section Types

Specs

scalar() ::
  atom()
  | binary()
  | bitstring()
  | boolean()
  | number()
  | Date.t()
  | DateTime.t()
  | NaiveDateTime.t()
  | Time.t()

Link to this section Functions

Link to this function

calculate_indentation(map)

View Source

Specs

calculate_indentation(Yamel.Encoder.opts()) :: String.t()
Link to this macro

is_scalar(value)

View Source (macro)

Specs

serialize({key :: scalar(), value :: any()}, Yamel.Encoder.opts()) :: String.t()