Files
site/wiki/source/json.md
keyboardan 5fd93ce40f Since is ambiguity between tilde.club or Tilde.club, opt for
Tilde.club.

The exceptions is when refering to tilde.club as a directory, or as a
host, or when refering to the tilde.club server.

The goal is to always refer to the Tilde.club community with a capital
T.

Signed-off-by: keyboardan <keyboardan@tilde.club>
2026-07-28 19:36:06 +00:00

22 lines
834 B
Markdown

---
title: Using JSON in Tilde.club
category: tutorials
---
JSON is the "Javascript Object Notation", basically a file format for
data that's suitable for easy processing by most modern web-based tools.
Several Tilde.club programs expose APIs essentially by spitting out
JSON as their output, including e.g. the list of recently updated home
pages at
[http://tilde.club/~delfuego/tilde.24h.json](http://tilde.club/~delfuego/tilde.24h.json)
If you're looking to parse JSON from the command line with a minimum of
code, the `jq` program may be your thing. `jq` is a filter that takes
JSON on standard input and produces JSON on standard output. Along the
way in the middle you can do various standard sorts of file munging on
a field by field basis.
[Documentation for `jq` is in its manual.](http://stedolan.github.io/jq/manual/)