Is it a good practice to use the GP service message parameter to return json data as string when calling the GP from javascript client through REST?
<SPAN class="pln">arcpy</SPAN><SPAN class="pun">.</SPAN><SPAN class="typ">AddMessage</SPAN><SPAN class="pun">(</SPAN><SPAN class="pln">json</SPAN><SPAN class="pun">.</SPAN><SPAN class="pln">dumps</SPAN><SPAN class="pun">(</SPAN><SPAN class="pln">data</SPAN><SPAN class="pun">))</SPAN>