I\'ve a stream of JSONs with following structure that gets converted to dataframe
{ \"a\": 3936, \"b\": 123, \"c\": \"34\", \"attributes\": { \"
Using the attributes.d notation, you can create new columns and you will have them in your DataFrame. Look at the withColumn() method in Java.