diff options
author | Matias Linares <matiaslina@gmail.com> | 2019-07-11 19:53:05 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2019-07-11 19:53:05 -0300 |
commit | ec4393cb81952fffa2273e313818a57c9611c5a2 (patch) | |
tree | 2bcccb3ad4f677e5ef2e0222784338450690976f /lib/Matrix/Response.pm6 | |
parent | f1cae9e3a68fc5aecbe5656bc812a758d8d62fee (diff) | |
download | perl6-matrix-client-b83f673c5cef4a856e77a185b212b34bae2e8aae.tar.gz |
Use JSON::Fastv0.5.1
Diffstat (limited to 'lib/Matrix/Response.pm6')
-rw-r--r-- | lib/Matrix/Response.pm6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Matrix/Response.pm6 b/lib/Matrix/Response.pm6 index 14e2b21..268be84 100644 --- a/lib/Matrix/Response.pm6 +++ b/lib/Matrix/Response.pm6 @@ -1,4 +1,4 @@ -use JSON::Tiny; +use JSON::Fast; unit module Matrix::Response; @@ -69,7 +69,7 @@ class Matrix::Response::Sync { my Matrix::Response::Event @presence; my Matrix::Response::RoomInfo @joined-rooms; my Matrix::Response::InviteInfo @invited-rooms; - + for $json<presence><events>.List -> $ev { @presence.push(Matrix::Response::Event.new(|$ev)); } |