in reply to How do I tell if my code is using JSON::PP or JSON::XS?
I believe you're thinking of JSON::MaybeXS.
This module first checks to see if either Cpanel::JSON::XS or JSON::XS (at at least version 3.0) is already loaded, in which case it uses that module. Otherwise it tries to load Cpanel::JSON::XS, then JSON::XS, then JSON::PP in order, and either uses the first module it finds or throws an error.
Also please post some representational code, if you're hitting a bottleneck it could be a million different things.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I tell if my code is using JSON::PP or JSON::XS?
by marto (Cardinal) on Nov 19, 2020 at 06:20 UTC | |
by perlfan (Parson) on Nov 19, 2020 at 16:29 UTC | |
by marto (Cardinal) on Nov 19, 2020 at 16:40 UTC | |
by perlfan (Parson) on Nov 20, 2020 at 18:37 UTC | |
by marto (Cardinal) on Nov 20, 2020 at 19:02 UTC |