in reply to Re^2: How do I tell if my code is using JSON::PP or JSON::XS?
in thread How do I tell if my code is using JSON::PP or JSON::XS?

I was replying to OP, I thought that ‘use JSON’ would detect the availability of the XS module and use it if possible, is that correct? I am really confused about your objection to my answer. I even qualified my answer with "perhaps". Maybe you can clarify exactly what your issue with my answer is because I have no idea what the point of your reply was.
  • Comment on Re^3: How do I tell if my code is using JSON::PP or JSON::XS?

Replies are listed 'Best First'.
Re^4: How do I tell if my code is using JSON::PP or JSON::XS?
by marto (Cardinal) on Nov 19, 2020 at 16:40 UTC

    Your reply is flawed inasmuch as OP is correct, as per the docs I quoted/linked to use JSON; does as they believe it does. Your response doesn't answer that question and muddies the waters by introducing a different module. The answer to the question you quoted is in the module documentation.

      Still not clicking for me. I'll give it a few days to see if any of this makes sense to be because right it now doesn't. I don't give a shit about the negative XP but I do certainly care about "muddying the waters" or giving out bad info, which is the opposite of what I want to do.

        Think of it this way:

        OP: "Does X behave like this..."

        You: "I believe you're thinking of Y....."

        Me: "Did you look at the X docs?....."

        The docs for X clearly support OPs thoughts on the matter, and it's trivial to check that X does as believed.