deserialize

open override fun deserialize(decoder: Decoder): Ratio

Parses a "top / bottom (percent%)" string back into a Ratio, falling back to Ratio.ZERO when malformed.