Skip to content

Commit

Permalink
Oops, forgot to support version objects, ugexe++
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 1, 2019
1 parent 161d7ee commit 8540c94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Rakudo/Internals/JSON.pm6
Expand Up @@ -212,6 +212,9 @@ my class Rakudo::Internals::JSON {
when Instant { when Instant {
nqp::push_s(@out,qq/"{.DateTime}"/) nqp::push_s(@out,qq/"{.DateTime}"/)
} }
when Version {
jsonify(.Str)
}


# also handle exceptions here # also handle exceptions here
when Exception { when Exception {
Expand Down

0 comments on commit 8540c94

Please sign in to comment.