0fabc7d965abdc0b7901fe08dcdf873a305433ba angie Thu May 21 11:06:54 2015 -0700 hgIntegrator: omit bam and maf (wigMaf) tracks from the group/track/table menus because the underlying anno* libs don't support those types yet. refs #14579 note 52 diff --git src/inc/jsonWrite.h src/inc/jsonWrite.h index 8f12bf2..105dccc 100644 --- src/inc/jsonWrite.h +++ src/inc/jsonWrite.h @@ -56,16 +56,21 @@ void jsonWriteObjectEnd(struct jsonWrite *jw); /* End object in JSON */ void jsonWriteStringf(struct jsonWrite *jw, char *var, char *format, ...); /* Write "var": "val" where val is jsonStringEscape'd formatted string. */ void jsonWriteBoolean(struct jsonWrite *jw, char *var, boolean val); /* Write out "var": true or "var": false depending on val (no quotes around true/false). */ void jsonWriteValueLabelList(struct jsonWrite *jw, char *var, struct slPair *pairList); /* Print out a named list of {"value": "<pair->name>", "label": "<pair->val>"} objects. */ void jsonWriteSlNameList(struct jsonWrite *jw, char *var, struct slName *slnList); /* Print out a named list of strings from slnList. */ +void jsonWriteAppend(struct jsonWrite *jwA, char *var, struct jsonWrite *jwB); +/* Append jwB's contents to jwA's. If jwB is non-NULL, it must be fully closed (no unclosed + * list or object). If var is non-NULL, write it out as a tag before appending. + * If both var and jwB are NULL, leave jwA unchanged. */ + #endif /* JSONWRITE_H */