Show / Hide Table of Contents

    Interface IContractResolver

    Used by JsonSerializer to resolves a JsonContract for a given System.Type.

    Namespace: Bayat.Json.Serialization
    Assembly: Bayat.Json.Runtime.dll
    Syntax
    public interface IContractResolver
    Examples

    Methods

    | Improve this Doc View Source

    ResolveContract(Type)

    Resolves the contract for a given type.

    Declaration
    JsonContract ResolveContract(Type type)
    Parameters
    Type Name Description
    System.Type type

    The type to resolve a contract for.

    Returns
    Type Description
    JsonContract

    The contract for a given type.

    • Improve this Doc
    • View Source
    • 0 Comments