updateValue(_:forKey:)

    Updates a key to a new value. If nil is provided, the value will be removed.

    JSONObject.swift:249
    @discardableResult mutating func updateValue(_ newValue: JSONValue?, forKey key: String) -> Bool

    If the key does not exist, false is returned. Otherwise true will be returned

    Other members in extension

    Type members

    Instance members