You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Foundation/JSONSerialization.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -274,7 +274,7 @@ open class JSONSerialization : NSObject {
274
274
275
275
}
276
276
277
-
#if !os(WASI)
277
+
#if !os(WASI) && !os(Emscripten)
278
278
/* Write JSON data into a stream. The stream should be opened and configured. The return value is the number of bytes written to the stream, or 0 on error. All other behavior of this method is the same as the dataWithJSONObject:options:error: method.
0 commit comments