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