15c2acbbf16454d91d9079216f21427fdd33a609
hiram
  Tue Apr 16 13:45:20 2019 -0700
beginning to allow the array output time to function refs #18869

diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h
index a2122f9..2d9d8a6 100644
--- src/hg/hubApi/dataApi.h
+++ src/hg/hubApi/dataApi.h
@@ -54,30 +54,33 @@
 /* this size is directly related to the max limit in needMem used in
  * jsonWriteString
  */
 
 /* limit amount of output to a maximum to avoid overload */
 extern int maxItemsOutput;	/* can be set in URL maxItemsOutput=N */
 /* for debugging purpose, current bot delay value */
 extern int botDelay;
 boolean debug;	/* can be set in URL debug=1, to turn off: debug=0 */
 
 /* default is to list all trackDb entries, composite containers too.
  * This option will limit to only the actual track entries with data
  */
 extern boolean trackLeavesOnly;	/* set by CGI parameter 'trackLeavesOnly' */
 
+/* this selects output type 'arrays', where the default type is: objects */
+extern boolean jsonOutputArrays; /* set by CGI parameter 'jsonOutputArrays' */
+
 /*  functions in hubApi.c */
 struct hubPublic *hubPublicDbLoadAll();
 
 struct dbDb *ucscDbDb();
 /* return the dbDb table as an slList */
 
 /* ######################################################################### */
 /*  functions in apiUtils.c */
 void apiFinishOutput(int errorCode, char *errorString, struct jsonWrite *jw);
 /* finish json output, potential output an error code other than 200 */
 
 void apiErrAbort(int errorCode, char *errString, char *format, ...);
 /* Issue an error message in json format, and exit(0) */
 
 struct jsonWrite *apiStartOutput();