So I think in your case you’d do something more like: val jsontrans = new JsonSerializationTransformer[StructType].setInputCol(“event").setOutputCol(“eventJSON")
> On Mar 11, 2016, at 3:51 PM, Tristan Nixon <st...@memeticlabs.org> wrote: > > val jsontrans = new > JsonSerializationTransformer[Document].setInputCol("myEntityColumn") > .setOutputCol("myOutputColumn")