private/runtime/Conversions/Instances/DecimalConverter.cs

namespace Carbon.Json.Converters
{
    internal sealed class DecimalConverter : JsonConverter<decimal>
    {
        public override JsonNode ToJson(decimal value) => new JsonNumber(value.ToString());

        public override decimal FromJson(JsonNode node)
        {
            return (decimal)node;
        }
    }
}