title: turn json format String into dataset spark using java
body: <p>Very new to spark...</p>
  
  <p>Suppose that we have a json format String such as following:</p>
  
  <pre><code> String  entry1 = "{\"user_id\":1111,\"account_num\":12345}";
  </code></pre>
  
  <p>how can I read it in to a spark dataset? I understand that dataset can easily read json formatted data from a path as following:</p>
  
  <pre><code>SparkSession sparksession = SparkSession.builder()...
  Dataset&lt;Row&gt; dataset = sparksession.read().json('path')
  </code></pre>
  
  <p>but how to directly turn the String above into a dataset? Thank you. </p>