Home | History | Annotate | Download | only in utils

Lines Matching refs:content

98             content = ''.join(fh.readlines())
101 match = JSON_COMMENTS_RE.search(content)
104 content = content[:match.start()] + content[match.end():]
105 match = JSON_COMMENTS_RE.search(content)
110 content = re.sub(r',[ \t\r\n]+}', '}', content)
111 content = re.sub(r',[ \t\r\n]+\]', ']', content)
114 self.json = json.loads(content, parse_int=int)
122 Pretty-print content of parsed JSON