Commit 36cc468
committed
Revert dropping MultiJson in favor of JSON.dump (#385)
PR #385 replaced MultiJson.dump with JSON.dump which bypasses
ActiveSupport's Hash#to_json override, causing Time values to
serialize as "2026-04-16 10:55:10 UTC" instead of ISO 8601.
Restore direct multi_json dependency and MultiJson.dump call.
Remove the intermediate Grape::Entity::Json constant introduced
by #385 as it is no longer needed.
Fixes #4031 parent b32714d commit 36cc468
5 files changed
Lines changed: 20 additions & 16 deletions
File tree
- lib/grape_entity
- spec/grape_entity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
1883 | 1900 | | |
1884 | 1901 | | |
1885 | 1902 | | |
| |||
This file was deleted.
0 commit comments