Hi,
I am trying to save a spark dataframe schema in scala. I can do df.schema.json to get the json string representation. Now I want to get the schema back from the json. However, it seems I need to parse the json string myself, get its fields object and generate the fields manually. Is there a better way? Assaf.