title: How can I efficiently read multiple json files into a Dataframe or JavaRDD?
body: <p>I can use the following code to read a single json file but I need to read multiple json files and merge them into one Dataframe. How can I do this? </p>
  
  <pre><code>DataFrame jsondf = sqlContext.read().json("/home/spark/articles/article.json");
  </code></pre>
  
  <p>Or is there a way to read multiple json files into JavaRDD then convert to Dataframe?</p>