encode

Serialize a value to a lazy bytestring. For settings you can use haskellStyle or rustStyle or compactStyle

encode :: ToRon a => SerializeSettings -> a -> Lazy.ByteString