---
name: "sfeed_json"
section: "1"
platform: "linux"
package: "sfeed"
version: "2.2-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sfeed_json"
---

# sfeed\_json(1)

format feed data to JSON Feed

## NAME

**sfeed\_json** – format feed data to JSON Feed

## SYNOPSIS

**sfeed\_json** \[*file ...*\]

## DESCRIPTION

**sfeed\_json** formats feed data (TSV) from [sfeed(1)](/sfeed/1.md) from stdin or for each *file* to stdout as JSON Feed data. If one or more *file* arguments are specified then the basename of the *file* is used as the feed name in the output. If no *file* arguments are specified and so the data is read from stdin then the feed name is empty.

If **sfeed\_json** is reading from one or more *file* arguments it will prefix the entry title with "\[feed name\] ".

## EXIT STATUS

The **sfeed\_json** utility exits 0 on success, and \>0 if an error occurs.

## EXAMPLES

```
curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_json
```

## SEE ALSO

[sfeed(1)](/sfeed/1.md), [sfeed\_atom(1)](/sfeed_atom/1.md), [sfeed(5)](/sfeed/5.md)

## STANDARDS

*JSON Feed Version 1.1*, Nov, 2022, https://www.jsonfeed.org/version/1.1/.

## AUTHORS

Hiltjo Posthuma ⟨*hiltjo@codemadness.org*⟩
