Integer types like byte, short, int and long should be no problem. Floating point types might need some investigation since the string representation of such a type might not always be what one expects.