LosslessJSONConvertible

public protocol LosslessJSONConvertible

A type that can be initialized from JSON losslessly.

  • Creates an instance of Self from the JSON instance passed in.

    If initialization fails at any point, nil will be returned.

    Declaration

    Swift

    init?(json: JSON)