If the unlock_secret field type of chapter is an array like below, the Object must implement IConvertible. error occurs when Convert.ChangeType() is called.
{ "unlock_secret": [9001, 9002] }
I modified a type for type checking to make the array value pass the if (unlockSecretObj is List<object>) test.
If the
unlock_secret
field type ofchapter
is an array like below, theObject must implement IConvertible.
error occurs whenConvert.ChangeType()
is called.I modified a type for type checking to make the array value pass the
if (unlockSecretObj is List<object>)
test.