stringify() — astro Function Reference
Architecture documentation for the stringify() function in runtime.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 3459dc7b_97b3_22f8_91b9_dc3a8658682c["stringify()"] 230f9fcd_500c_0a2e_2316_14bb85a1e99e["runtime.ts"] 3459dc7b_97b3_22f8_91b9_dc3a8658682c -->|defined in| 230f9fcd_500c_0a2e_2316_14bb85a1e99e 59668aee_368a_2af5_a60c_273e7404dc42["set()"] 59668aee_368a_2af5_a60c_273e7404dc42 -->|calls| 3459dc7b_97b3_22f8_91b9_dc3a8658682c c5fcfb22_1acd_7d18_d142_3d656d477a03["PERSIST_SYMBOL()"] c5fcfb22_1acd_7d18_d142_3d656d477a03 -->|calls| 3459dc7b_97b3_22f8_91b9_dc3a8658682c style 3459dc7b_97b3_22f8_91b9_dc3a8658682c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/session/runtime.ts lines 27–32
const stringify: typeof rawStringify = (data, _) => {
return rawStringify(data, {
// Support URL objects
URL: (val) => val instanceof URL && val.href,
});
};
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does stringify() do?
stringify() is a function in the astro codebase, defined in packages/astro/src/core/session/runtime.ts.
Where is stringify() defined?
stringify() is defined in packages/astro/src/core/session/runtime.ts at line 27.
What calls stringify()?
stringify() is called by 2 function(s): PERSIST_SYMBOL, set.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free