Skip to content

Latest commit

 

History

History
64 lines (55 loc) · 3.06 KB

README.md

File metadata and controls

64 lines (55 loc) · 3.06 KB

Gitpod

NuGet Version and Downloads count Actions Status Codacy Badge CodeFactor

LinksPlatform's Platform.Data.Doublets.Json Class Library.

Namespace: Platform.Data.Doublets.Json

NuGet package: Platform.Data.Doublets.Json

PDF file with code for e-readers.

Depends on

Tools

SYNOPSIS

json2links SOURCE DESTINATION [DOCUMENT_NAME]

PARAMETERS

  • SOURCE - a json file path.
  • DESTINATION - a links storage path.
  • DOCUMENT_NAME - a document name. Default: SOURCE's file name without extension.

Note:

DOCUMENT_NAME is used to define what name to save a document with. A links storage can contain multiple json documents.

Example

  1. Install
    dotnet tool install --global json2links
  2. Import a json file from a doublets links storage
    json2links documents/enwiki.json databases/wikimedia.links "English Wikipedia"

SYNOPSIS

links2json SOURCE DESTINATION [DOCUMENT_NAME]

PARAMETERS

  • SOURCE - a links storage path.
  • DESTINATION - a json file path.
  • DOCUMENT_NAME - a document name. Default: DESTINATION's file name without extension.

Note:

DOCUMENT_NAME is used to choose which json document to export from a links storage. A links storage can contain multiple json documents.

Example

  1. Install
    dotnet tool install --global links2json
  2. Export json file to doublets links storage
    links2json databases/wikimedia.links documents/enwiki.json "English Wikipedia"