How-To Guides
Here are some guides on how to use fx in different scenarios.
- Comparing Two JSON Files
- Converting Between JSON and MAML on the Command Line
- Converting Between JSON and YAML on the Command Line
- Converting CSV to JSON in the Terminal
- Converting JSON to CSV in the Terminal
- Decoding JWT Tokens in the Terminal
- Editing JSON Files In Place
- Editing package.json From the Command Line
- Exploring REST API Responses With curl and fx
- Extracting Specific Fields From JSON
- Filtering JSON Arrays by Condition
- Flattening Nested JSON Into Dot-Notation Keys
- Grouping and Aggregating JSON Data
- Handling Large Integers in JSON Without Losing Precision
- How to join two arrays by their properties?
- How to use multiline arguments with
fx? - Inspecting kubectl JSON Output With fx
- jq to fx: Command Equivalents Cheat Sheet
- Listing All Paths and Keys in a JSON Document
- Merging Two JSON Files in Linux
- Parsing docker inspect and Docker JSON Output
- Parsing JSON Logs in the Terminal
- Pretty-Printing Minified JSON Files in the Terminal
- Processing AWS CLI JSON Output With fx
- Processing Plain Text and Command Output With fx --raw
- Querying GitHub API and gh CLI Output With fx
- Renaming and Restructuring JSON Keys
- Reusable Custom Functions With .fxrc.js
- Searching Large JSON Files Interactively
- Sorting JSON Arrays in the Terminal
- TOML to JSON cli
- Using
fxas a TUI for JSON Data - Using fx in Shell Scripts and CI Pipelines
- Validating JSON and Finding Syntax Errors
- Viewing YAML in the Terminal on Linux with
fx - Working With NDJSON and JSON Lines Files