Search Results for

    Show / Hide Table of Contents

    Class JsonStorageSetup

    This storage setup extends FileSetupBase to specify parameters for an access to JSON files.

    Inheritance
    System.Object
    FileSetupBase
    JsonStorageSetup
    Inherited Members
    FileSetupBase.File
    FileSetupBase.Filename
    FileSetupBase.Extension
    FileSetupBase.Location
    FileSetupBase.Exists
    FileSetupBase.Permissions
    FileSetupBase.Info()
    FileSetupBase.SetFile(FileInfo)
    Namespace: TeleScope.Persistence.Json
    Assembly: TeleScope.Persistence.Json.dll
    Syntax
    public class JsonStorageSetup : FileSetupBase

    Constructors

    | Improve this Doc View Source

    JsonStorageSetup(FileInfo)

    The default constructor calls the constructor of the base class and defines UTF8 as default Encoder property.

    Declaration
    public JsonStorageSetup(FileInfo fileInfo)
    Parameters
    Type Name Description
    FileInfo fileInfo

    The information about the file that will get accessed by a file storage.

    | Improve this Doc View Source

    JsonStorageSetup(String)

    The constructor calls the according base class constructor and leaves the default settings of the property.

    Declaration
    public JsonStorageSetup(string file)
    Parameters
    Type Name Description
    System.String file

    The file represented as string, the storage is attached to.

    Properties

    | Improve this Doc View Source

    Encoder

    Gets or sets the encoding of the file.

    Declaration
    public Encoding Encoder { get; set; }
    Property Value
    Type Description
    Encoding
    | Improve this Doc View Source

    Format

    Gets or sets the formatting of the JSON file. The default value is .

    Declaration
    public Formatting Format { get; set; }
    Property Value
    Type Description
    Formatting
    | Improve this Doc View Source

    Settings

    Gets or sets the Newtonsoft JSON setting.

    Declaration
    public JsonSerializerSettings Settings { get; set; }
    Property Value
    Type Description
    JsonSerializerSettings
    • GITHUB
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    Copyright 2020-2022 TeleScope-dotnet. Generated by DocFX.
    ☀
    ☾