b475ddc8795329be93a783760d7aed704131d479
max
  Wed Feb 17 01:48:32 2021 -0800
adding JSON output to hgBlat, refs #27010

diff --git src/inc/psl.h src/inc/psl.h
index 56874d9..4fa1e9d 100644
--- src/inc/psl.h
+++ src/inc/psl.h
@@ -116,30 +116,33 @@
 struct psl *pslxLoadLm(char **row, struct lm *lm);
 /* Load row into local memory pslx. */
 
 struct psl *pslLoadLm(char **row, struct lm *lm);
 /* Load row into local memory psl. */
 
 void pslWriteHead(FILE *f);
 /* Write head of psl. */
 
 void pslxWriteHead(FILE *f, enum gfType qType, enum gfType tType);
 /* Write head of pslx (extended psl). */
 
 void pslWriteAll(struct psl *pslList, char *fileName, boolean writeHeader);
 /* Write a psl file from list. */
 
+void pslWriteAllJson(struct psl *pslList, FILE *f, boolean writeHeader);
+/* Write a psl file from list as a json array . */
+
 struct lineFile *pslFileOpen(char *fileName);
 /* Read header part of psl and make sure it's right. 
  * Return line file handle to it. */
 
 struct lineFile *pslFileOpenWithMeta(char *fileName, FILE *f);
 /* Read header part of psl and make sure it's right. 
  * Return line file handle to it and send meta data to output file f */
 
 struct lineFile *pslFileOpenWithUniqueMeta(char *fileName, FILE *f);
 /* Read header part of psl and make sure it's right. 
 * Set flag to suppress duplicate header comments.
 * Return line file handle to it. */
 
 void pslxFileOpen(char *fileName, enum gfType *retQueryType, 
 	enum gfType *retTargetType, struct lineFile **retLf);