Closed soheilbm closed 8 years ago
I noticed that if I try to decode a json with a int value but if the value is string I get BAD_EXCESS error. Is there anyway to make sure if the value is not covertible it return nil instead of throwing error ?
I noticed that if I try to decode a json with a int value but if the value is string I get BAD_EXCESS error. Is there anyway to make sure if the value is not covertible it return nil instead of throwing error ?