spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lihu <>
Subject Re: How to convert RDD to JSON?
Date Tue, 09 Dec 2014 07:29:49 GMT
RDD is just a wrap of the scala collection, Maybe you can use the
.collect() method to get the scala collection type, you can then transfer
to a JSON object using the Scala method.

View raw message