JSON upgrades and optimisations
There are various improvements we can make to our JSON handling. These are the currently planned steps:
-
Introduce cop for JSON wrapper, disabled -
Add JSON wrapper -
Enable cop but not for old codeCancelled because it's the same number of changes as autocorrecting -
Multiple smaller MRs to update all existing usage to use wrapper -
Enable cop for everything (requires an issue for discussion first) -
Update wrapper to handle old way of parsing JSON -
Upgrade json
gem from1.8.6
to2.3.0
I'll be linking the MRs to this issue.
Relevant feature flags
:json_wrapper_legacy_mode, default_enabled: true
Edited by Robert May