MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / is_json

Function is_json

keepercommander/utils.py:271–276  ·  view source on GitHub ↗
(txt)

Source from the content-addressed store, hash-verified

269
270
271def is_json(txt):
272 try:
273 json.loads(txt)
274 except ValueError as e:
275 return False
276 return True
277
278def url_strip(url): # type: (str) -> str
279 if not url:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected