* @throws BadLocationException
* @throws BadPositionCategoryException
*/
private void doJsonArray(String key, int startPos) throws JsonReaderException, JsonTextOutlineParserException, BadLocationException, BadPositionCategoryException {
JsonArray jsonArray = new JsonArray(parent, key);
if (root == null) {
root = jsonArray;
parent = root;
} else {
parent.addChild(jsonArray);
parent = jsonArray;
}
jsonArray.setPosition(startPos, parser.getPosition() - startPos + 1, doc);
char ch;
do {
ch = parser.getNextClean();
int start = parser.getPosition();