init(rawValue : UInt)
Creates a set of JSON formatting options from an integer that represents those options.
一揃いのJSON書式設定オプションをそれらオプションを表すある整数から作成します。
Availability 有効性
Technology
struct WritingOptions, @unchecked Sendable
init(rawValue : UInt)
static var fragmentsAllowed : JSONSerialization.WritingOptions
static var prettyPrinted : JSONSerialization.WritingOptions
static var sortedKeys : JSONSerialization.WritingOptions
static var withoutEscapingSlashes : JSONSerialization.WritingOptions
class func data(withJSONObject : Any, options: JSONSerialization.WritingOptions) -> Data
class func writeJSONObject (Any, to: OutputStream, options: JSONSerialization.WritingOptions, error: NSErrorPointer) -> Int
class func isValidJSONObject (Any) -> Bool