title: Find Value Type of a JSONValue (TJSONArray or TJSONObject)
body: <p>I would like to do this with the standard Library in Delphi XE8 </p>
  
  <pre><code>if Assigned(JSONValue) then
      case JSONValue.ValueType of
        jsArray  : ProcessArrayResponse(JSONValue as TJSONArray);
        jsObject : ProcessObjectResponse(JSONValue as TJSONObject);
      end;
  end;
  </code></pre>
  
  <p>(this sample come from <a href="https://github.com/deltics/delphi.libs/wiki/JSON" rel="nofollow">https://github.com/deltics/delphi.libs/wiki/JSON</a> but using Deltics.JSON library).</p>
  
  <p>Does Anyone know how to do it with standard library ?</p>
  
  <p>thank you</p>