Module ruma_common::serde::single_element_seq

source ·
Expand description

De-/serialization functions to and from single element sequences.

Functions§

  • Deserialize a list of one item and return that item.
  • Serialize the given value as a list of just that value.