| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-03-27 | TomTom::Matrix: Serialize `BigDecimal` as float | Teddy Wing | |
| Rails serialises `BigDecimal`s as JSON strings to prevent loss of precision. The `latitude` and `longitude` columns in `StopArea` are stored as `BigDecimal`s. The trouble is that TomTom's API requires the latitude & longitude values to be JSON floats, not strings. Make a new JSON serialiser that converts the `BigDecimal` coordinates to float to allow the values to be correctly interpreted by the API. Refs #6222 | |||
