MCPcopy Create free account
hub / github.com/FastLED/FastLED / to_json_dict

Method to_json_dict

ci/compiler/asset_scanner.py:76–78  ·  view source on GitHub ↗

Return manifest as a plain nested dict for JSON serialization.

(self)

Source from the content-addressed store, hash-verified

74 warnings: list[str] = field(default_factory=list)
75
76 def to_json_dict(self) -> dict[str, dict[str, str | None]]:
77 """Return manifest as a plain nested dict for JSON serialization."""
78 return {key: asdict(entry) for key, entry in self.manifest.items()}
79
80
81# -----------------------------------------------------------------------------

Callers 2

write_manifest_jsonFunction · 0.80
manifest_to_js_bootstrapFunction · 0.80

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected