You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In our Ruby 2.5.6 app, calling to_json on a FeatureFlagsState instance throws error.
To reproduce
Initialize a LDClient instance.
Call all_flags_state to get the FeatureFlagsState instance.
Call to_json on the FeatureFlagsState instance to get the error.
(If I call as_json.to_json instead of just to_json, it works)
Expected behavior
It should return the corresponding JSON string.