Serializer for Decimal.
JSON encodings emit an unquoted numeric literal from the canonical decimal text and decode from the token's textual content, never through Double. Non-JSON textual encodings use the canonical decimal string.