File System File System
File System File System
DocFX + Singulink = ♥

Search Results for

    Namespace Singulink.IO.Json

    Classes

    AbsoluteDirectoryPathJsonConverter

    Converts IAbsoluteDirectoryPath paths to and from JSON strings, both as values and as dictionary keys. Paths are written as their PathDisplay string. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. A string in the other platform's absolute form, such as C:\data</code> on Unix or /data/ on Windows, is not read as an absolute path.

    AbsoluteFilePathJsonConverter

    Converts IAbsoluteFilePath paths to and from JSON strings, both as values and as dictionary keys. Paths are written as their PathDisplay string. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. A string in the other platform's absolute form, such as C:\data</code> on Unix or /data/ on Windows, is not read as an absolute path.

    AbsolutePathJsonConverter

    Converts IAbsolutePath paths to and from JSON strings, both as values and as dictionary keys. Paths are written as their PathDisplay string. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. A string in the other platform's absolute form, such as C:\data</code> on Unix or /data/ on Windows, is not read as an absolute path. Strings that are empty, end with a separator or end with a . or .. segment are read as directory paths and all other strings as file paths.

    DirectoryPathJsonConverter

    Converts IDirectoryPath paths to and from JSON strings, both as values and as dictionary keys. Absolute paths are written as their PathDisplay string and relative paths in the Universal format (with / separators) so that they also read on the other platform when their names are valid there, and as their PathDisplay string when they can't be converted to it. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. Absolute strings are read as absolute directory paths and all other strings as relative directory paths.

    FilePathJsonConverter

    Converts IFilePath paths to and from JSON strings, both as values and as dictionary keys. Absolute paths are written as their PathDisplay string and relative paths in the Universal format (with / separators) so that they also read on the other platform when their names are valid there, and as their PathDisplay string when they can't be converted to it. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. Absolute strings are read as absolute file paths and all other strings as relative file paths.

    PathJsonConverter

    Converts IPath paths to and from JSON strings, both as values and as dictionary keys. Absolute paths are written as their PathDisplay string and relative paths in the Universal format (with / separators) so that they also read on the other platform when their names are valid there, and as their PathDisplay string when they can't be converted to it. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. Strings that are empty, end with a separator or end with a . or .. segment are read as directory paths and all other strings as file paths. Absolute strings are read as absolute paths and all other strings as relative paths.

    RelativeDirectoryPathJsonConverter

    Converts IRelativeDirectoryPath paths to and from JSON strings, both as values and as dictionary keys. Paths are written in the Universal format (with / separators) so that they also read on the other platform when their names are valid there, and as their PathDisplay string when they can't be converted to it. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path.

    RelativeFilePathJsonConverter

    Converts IRelativeFilePath paths to and from JSON strings, both as values and as dictionary keys. Paths are written in the Universal format (with / separators) so that they also read on the other platform when their names are valid there, and as their PathDisplay string when they can't be converted to it. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path.

    RelativePathJsonConverter

    Converts IRelativePath paths to and from JSON strings, both as values and as dictionary keys. Paths are written in the Universal format (with / separators) so that they also read on the other platform when their names are valid there, and as their PathDisplay string when they can't be converted to it. Strings are read in the current platform's path format, as the Parse methods on FilePath and DirectoryPath read them on the platform the app runs on with the None option, so a path in that format reads back as the same path. Strings that are empty, end with a separator or end with a . or .. segment are read as directory paths and all other strings as file paths.

    © Singulink. All rights reserved.