mirror of
https://github.com/tildeclub/site.git
synced 2026-07-30 09:59:24 +00:00
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>
22 lines
834 B
Markdown
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/)
|