MCPcopy Create free account
hub / github.com/ZSAIm/VideoCrawlerEngine / jsonify

Function jsonify

utils/common.py:72–101  ·  view source on GitHub ↗

处理非标准JSON的格式化问题。由于python内置的json会对nan, inf, -inf进行处理,这会造成非标准的JSON。

(
    source,
    replace=None,
    keys=(float('nan'), float('inf'), float('-inf')),
    indent=None
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

go_checkFunction · 0.85

Tested by

no test coverage detected