Closed aduitsis closed 5 years ago
I couldn't reproduce this issue. Could you tell me if this still happens to you with the latest versions of JSON/JSON::PP/JSON::XS modules? (please make sure you load the right version of your module, too)
Closed for now.
I have a class named FactSet which contains an array of objects of class Fact. I tried to implement a method like this for FactSet:
The items inside $_[0]->facts are blessed objects of class Fact and this class implements a TO_JSON method. However, when I try to call $fact_set->TO_JSON I get
Is this normal? Should it not descend into the array and convert each object by using its TO_JSON method ?