What I want is when the program iterates through a json object, if it sees the current field’s value is integer/string/double/etc, it dynamically adds a new column with that type to the dt.
Right now I’m using value.GetType.ToString and switch to manually define each cases. Just wondering if there’s a way to add data column with dynamic type.