title: Set specific JSONPATH element value
body: <p>I was trying to set the author value from the following JSON text but my code is removing the all other child's of the json text.</p>
  
  <pre><code>   {
      "store": {
          "book": [
              {
                  "category": "reference",
                  "author": "XXXXXXXXXXXXXXXXX",
                  "title": "Sayings of the Century",
                  "price": 8.95
              },
              {
                  "category": "fiction",
                  "author": "Evelyn Waugh",
                  "title": "Sword of Honour",
                  "price": XXXXXXXXXXXXXXXXXXXXX
              },
              {
                  "category": "fiction",
                  "author": "Herman Melville",
                  "title": "Moby Dick",
                  "isbn": "0-553-21311-3",
                  "price": 8.99
              },
              {
                  "category": "fiction",
                  "author": "J. R. R. Tolkien",
                  "title": "The Lord of the Rings",
                  "isbn": "0-395-19395-8",
                  "price": 22.99
              }
          ],
          "bicycle": {
              "color": "red",
              "price": 19.95
          }
      },
      "expensive": 10
  }
  </code></pre>
  
  <p>I tried to update the author in first book to some other value as below.</p>
  
  <pre><code>Object updatedJson = JsonPath.using(configuration).parse(jsonInput).json();
  String jayPath = "$..book[0].author";
  String tagValue = "ReplacedText";
                  String jsonToParse = updatedJson.toString();
                  updatedJson = JsonPath.parse(jsonToParse).set(jayPath, tagValue).json();
  </code></pre>
  
  <p>After set step my json has only content of book[1] like below. Please advise how can I get the entire json input which I gave with the replaced values as output.</p>
  
  <pre><code>{store={book=[{"category"=reference, author=XXXXXXXXXXXXXXXXX, title=Sayings of the Century, price=8.95}
  </code></pre>
  
  <p>Regards,
  Sathish.</p>