cosullivan/Hypermedia

Can't Cast `JsonNumber` to `Double`

Closed this issue · 1 comments

This segment in PrimitiveConverter:

if (type == typeof(double))
{
    return (double)((JsonNumber)jsonValue).Value;
}

Seems to throw this exception for 26.8428:

Cannot convert type 'JsonLite.Ast.JsonNumber' to 'double'

Nope, no it doesn't... Was throwing on something else, my bad