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 | |
parent | f1cae9e3a68fc5aecbe5656bc812a758d8d62fee (diff) | |
download | perl6-matrix-client-ec4393cb81952fffa2273e313818a57c9611c5a2.tar.gz |
Use JSON::Fastv0.5.1
-rw-r--r-- | META6.json | 4 | ||||
-rw-r--r-- | lib/Matrix/Client.pm6 | 2 | ||||
-rw-r--r-- | lib/Matrix/Client/Requester.pm6 | 2 | ||||
-rw-r--r-- | lib/Matrix/Client/Room.pm6 | 2 | ||||
-rw-r--r-- | lib/Matrix/Response.pm6 | 4 |
5 files changed, 7 insertions, 7 deletions
@@ -4,7 +4,7 @@ ], "build-depends" : [ ], "depends" : [ - "JSON::Tiny", + "JSON::Fast", "HTTP::UserAgent", "URI::Encode", "IO::Socket::SSL" @@ -34,5 +34,5 @@ "Test", "Test::META" ], - "version" : "0.5.0" + "version" : "0.5.1" } diff --git a/lib/Matrix/Client.pm6 b/lib/Matrix/Client.pm6 index d7206b0..9022c65 100644 --- a/lib/Matrix/Client.pm6 +++ b/lib/Matrix/Client.pm6 @@ -1,6 +1,6 @@ use HTTP::Request::Common; use URI::Encode; -use JSON::Tiny; +use JSON::Fast; use Matrix::Response; use Matrix::Client::Common; use Matrix::Client::Room; diff --git a/lib/Matrix/Client/Requester.pm6 b/lib/Matrix/Client/Requester.pm6 index edaf2da..ff543c9 100644 --- a/lib/Matrix/Client/Requester.pm6 +++ b/lib/Matrix/Client/Requester.pm6 @@ -1,7 +1,7 @@ use HTTP::UserAgent; use HTTP::Request::Common; use URI::Encode; -use JSON::Tiny; +use JSON::Fast; use Matrix::Client::Exception; unit role Matrix::Client::Requester; diff --git a/lib/Matrix/Client/Room.pm6 b/lib/Matrix/Client/Room.pm6 index 4ec774f..ca97d2f 100644 --- a/lib/Matrix/Client/Room.pm6 +++ b/lib/Matrix/Client/Room.pm6 @@ -1,4 +1,4 @@ -use JSON::Tiny; +use JSON::Fast; use Matrix::Client::Common; use Matrix::Client::Requester; use Matrix::Response; 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)); } |