Method
serialize(_:)
Serialize a Resource to a JSON string
func serialize(_ resource: Resource) async throws -> String
Parameters
resource-
The Resource containing objects to serialize
Return Value
JSON string
Method
Serialize a Resource to a JSON string
func serialize(_ resource: Resource) async throws -> String
resourceThe Resource containing objects to serialize
JSON string