title: How can I modify the output pattern of Laravel return object?
body: <p>The image is the output of a code like : <code>return $data;</code> where <code>$data= MyModel::where("...")-&gt;get();</code></p>
  
  <p><a href="https://i.stack.imgur.com/5MQ8O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5MQ8O.png" alt="enter image description here"></a></p>
  
  <p>I want not no get :</p>
  
  <ol>
  <li>The trailing 3rd bracket.</li>
  <li>The " (double quotation), rather I want to get ' (single quotation), because in C# desktop app I can't parse a double quoted string, is there a way ?</li>
  <li>Any \ (back slash character). Actually in output every / (forward slash) is concatenate with a with a \ (back slash).
  The red marked string in actual output is like : "/1st Year/1st Semester/Assignment paper ), although \ isn't interpreted in output image</li>
  </ol>
  
  <p>What to do ?</p>