# &kde; User's Manual

`desktoptojson`

8

`desktoptojson`

Small program which takes a `.desktop` file and converts it to json. This is useful to convert plugins which have their metadata in `.desktop` files (i.e. all KDE plugins) to Qt's new plugin system.

## Synopsis

    desktoptojson

    --version
    --help
    --input
    --output

## Description

`desktoptojson`, Small program which takes a `.desktop` file and converts it to json. This is useful to convert plugins which have their metadata in `.desktop` files (i.e. all KDE plugins) to Qt's new plugin system.

Use a `.desktop` file as the input file to generate json.

## Options

`--version`

- Displays version information.

`--help`

- Displays help

`--input `name``

- Read input from a file.

`--output `name``

- Write output to a file.

## Usage

A standard way to run this program is by simply specifying the following command at the prompt ``desktoptojson`` --input `filename.desktop` --output `filename.json`

## Files

`/usr/bin/desktoptojson`

- The default directory where the excecutable resides.

## Bugs

If you find bugs use bugs.kde.org to report them.