Subject: | TO_JSON |
Often I will subclass (or yes, sometimes monkeypatch like an idiot), DateTime in order to add a TO_JSON method:
sub TO_JSON { shift->iso8601.'Z' }
Would it be possible/advisable to add said method to DateTime itself? If so I'll be happy to submit a PR with tests.