This pull request fixes the castInput function to handle OrderedDict conversion to JSON string. This prevents errors when the input is an OrderedDict, ensuring it is properly converted and parsed.
Changes Made
Added a check for OrderedDict in the castInput function.
Converted OrderedDict to JSON string before parsing.
This pull request fixes the
castInput
function to handleOrderedDict
conversion to JSON string. This prevents errors when the input is anOrderedDict
, ensuring it is properly converted and parsed.Changes Made
OrderedDict
in thecastInput
function.OrderedDict
to JSON string before parsing.Before
After