Cast array of numbers to array of integers #74
-
How can I cast attribute that is array of integers? E.g.
|
Beta Was this translation helpful? Give feedback.
Answered by
rubenvanassche
Jan 20, 2022
Replies: 1 comment
-
Well you've got two options: A) write a custom cast which changes the strings to ints |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lumbe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well you've got two options:
A) write a custom cast which changes the strings to ints
B) write a custom from method which changes the array before it is given to the data object