MCPcopy Create free account
hub / github.com/WwwwwyDev/crawlipt / generate_json

Method generate_json

crawlipt/script.py:440–444  ·  view source on GitHub ↗

generate the scripts(str of json) from list or dict.

(scripts: dict | list)

Source from the content-addressed store, hash-verified

438
439 @staticmethod
440 def generate_json(scripts: dict | list) -> str:
441 """
442 generate the scripts(str of json) from list or dict.
443 """
444 return json.dumps(ScriptProcess.generate(scripts))
445
446 @staticmethod
447 def add_action(func: callable) -> None:

Callers 1

test_loopMethod · 0.80

Calls 1

generateMethod · 0.80

Tested by 1

test_loopMethod · 0.64