pub fn shape_value_with_encoding(
symbol: Symbol,
shape: Arc<dyn Shape>,
encoding: ObjectEncoding,
) -> ValueExpand description
Like shape_value but also records the constructor encoding so the
resulting value can be re-encoded back to its constructor expression.