Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Did the JSON module change?

by nilesOien (Novice)
on Mar 01, 2018 at 23:48 UTC ( #1210206=note: print w/replies, xml ) Need Help??


in reply to Re: Did the JSON module change?
in thread Did the JSON module change?

Using what you give above, I have JSON.pm version 2.97001

I think that's pretty close to the latest? Also I just installed JSON::XS and it seems like it makes no difference.

EDIT : I take it back, I had screwed up the installation of JSON::XS. When I got it installed correctly, this :

my $data3; $data3->{"num"} = "3"; my $addr = $data3->{"num"} + 7; my $body3 = $json->encode($data3); print $body3;

Does indeed print this :

{ "num" : "3" }

I'm guessing the difference is in the version of the JSON module?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1210206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-03-05 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (115 votes). Check out past polls.

    Notices?