RSDJSONValue

public protocol RSDJSONValue

Protocol for converting objects to JSON serializable objects

  • Return a JSON type object. Elements may be any one of the JSON types (NSNull, NSNumber, String, Array, [String : Any]).

    Declaration

    Swift

    func jsonObject() -> Any