protected void writeQueriesEntry ( StringBuilder sb , ExecutionInfo execInfo , List < QueryInfo > queryInfoList ) { sb . append ( "\"query\":[" ) ; for ( QueryInfo queryInfo : queryInfoList ) { sb . append ( "\"" ) ; sb . append ( escapeSpecialCharacter ( queryInfo . getQuery ( ) ) ) ; sb . append ( "\"," ) ; } chompIfEndWith ( sb , ' ' ) ; sb . append ( "], " ) ; }
Write queries as json .