//! Support for the code that runtime macros generate.
pub use serde;
use crate::;
/// Encodes record fields in the format expected by the browser runtime.
///
/// # Errors
///
/// Fails when a field cannot be serialized.
/// Decodes record fields from the browser runtime's format.
///
/// # Errors
///
/// Fails when the input lacks the record tag or contains an invalid field value.