Skip to content
Permalink
Browse files

Add comment about relation to JSON::Fast

  • Loading branch information...
ugexe committed Mar 3, 2019
1 parent ce24f60 commit 43ff9f1cebd98a6a3a8c70f6ff931d4aa0079939
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/Rakudo/Internals/JSON.pm6
@@ -6,6 +6,10 @@ my class JSONException is Exception {
}
}

# A slightly modified version of https://github.com/timo/json_fast/blob/5ce76c039dc143fa9a068f1dfa47b42e58046821/lib/JSON/Fast.pm6
# Key differences:
# - to-json stringifies Version objects
# - Removes $*JSON_NAN_INF_SUPPORT and the Falsey code path(s) that use it
my class Rakudo::Internals::JSON {

my multi sub to-surrogate-pair(Int $ord) {

0 comments on commit 43ff9f1

Please sign in to comment.
You can’t perform that action at this time.