tested this in 19.1

it throws an error ("string expected")

so i am guessing you are using an older version of DF.

Both issues are bad IMO. It should be smart enough to convert the int to a string (especially because DF normally doesnt care about types all that much) and not throw an error. The other way around maybe but probably only if the data doesnt convert, but this is terrible

bOk of course is true because it can read and parse the json. Whats failing is the conversion from the json object to your datatype

one more reason to support anonymous datatypes