pub fn encode(
records: &[Value],
format: FileFormat,
opts: &FormatOptions,
) -> Result<Vec<u8>, FaucetError>Expand description
Encode records into one object’s bytes.
pub fn encode(
records: &[Value],
format: FileFormat,
opts: &FormatOptions,
) -> Result<Vec<u8>, FaucetError>Encode records into one object’s bytes.