We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cde136b commit 25d4609Copy full SHA for 25d4609
pygeoapi/util.py
@@ -261,8 +261,14 @@ def to_json(dict_: dict, pretty: bool = False) -> str:
261
else:
262
indent = None
263
264
- return json.dumps(dict_, default=json_serial, indent=indent,
265
- separators=(',', ':'))
+ LOGGER.debug('Dumping JSON')
+ json_dump = json.dumps(dict_, default=json_serial, indent=indent,
266
+ separators=(',', ':'))
267
+
268
+ LOGGER.debug('Removing < and >')
269
+ json_dump = json_dump.replace('<', '<').replace('>', '>')
270
271
+ return json_dump
272
273
274
def format_datetime(value: str, format_: str = DATETIME_FORMAT) -> str:
0 commit comments