MCPcopy
hub / github.com/linkedin/shiv / from_json

Method from_json

src/shiv/bootstrap/environment.py:63–64  ·  view source on GitHub ↗
(cls, json_data)

Source from the content-addressed store, hash-verified

61
62 @classmethod
63 def from_json(cls, json_data) -> "Environment":
64 return Environment(**json.loads(json_data))
65
66 def to_json(self) -> str:
67 return json.dumps(

Callers 2

test_roundtripMethod · 0.80
bootstrapFunction · 0.80

Calls 1

EnvironmentClass · 0.85

Tested by 1

test_roundtripMethod · 0.64