Textrude
jid
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Textrude
-
Is there a source generator that generates poco classes from a JSON schema?
Fair point - source generators can run arbitrary code so yes, they can read a json file and then spit out something else in response. If you want to translate the json schema into the equivalent C# you'll need to write a small amount of code to deserialize the json into a JObject tree, walk it, and emit c# code. I do something similar in my Textrude code-generation/templating project except I'm translating the tree into an equivalent Scriban object tree. The relevant source code is here. All that said, this is a fairly specialised and common task - I can't believe there's not a command line tool to do this already.
-
List of JSON tools for command line
Plug for something I wrote: [github link]*https://github.com/NeilMacMullen/Textrude). The CLI version can pipe json (or yaml,csv or text lines) from stdin or fetch it from a URL then turn it into model and apply a Scriban template to it to emit text to stdout. Runs on Linux or Windows and also comes with an interactive UI prototyping tool.
- Textrude - a template-based code/text-generation tool. Easy transformation of JSON/YAML/CSV models into code/text using Scriban templates.
- General-purpose code-generation tool, with support for data sources like yaml/csv/etc and a template language
jid
-
Zq: An Easier (and Faster) Alternative to Jq
It took me a while to grok jq, but now that I do I kinda like it? I don't think I want to learn yet another thing.
I do like tools that complement/supplement jq though, like jid: https://github.com/simeji/jid
- Ask HN: Local Tools for Viewing JSON
-
jless - Command Line JSON Viewer
Link for the lazy: https://github.com/simeji/jid
- FX: An interactive alternative to jq to process JSON
- Tips on Adding JSON Output to Your CLI App
- jid
-
How to navigate an API from the terminal
If you're trying to work out the structure and content of an API's JSON responses, you can keep paging through the documentation and the paged output of less or you can reach for more precise JSON parsing tools such as, jq and jid.
-
Help using JQ interactively?
Yeah, I love me some jq, and my first reaction to the JSON tools page was 'What do these bring to the table that jq doesn't?". Gron and Jid changed my mind.
- My favorite cli/tui programs:
- Ask HN: Tools you have made for yourself?
What are some alternatives?
NTypewriter - File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.
jiq - jid on jq - interactive JSON query tool using jq expressions
pxi - 🧚 pxi (pixie) is a small, fast, and magical command-line data processor similar to jq, mlr, and awk.
fx - Terminal JSON viewer & processor
yamlpath - YAML/JSON/EYAML/Compatible get/set/merge/validate/scan/convert/diff processors using powerful, intuitive, command-line friendly syntax.
m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
jj - JSON Stream Editor (command line utility)
zed - A novel data lake based on super-structured data
percol - adds flavor of interactive filtering to the traditional pipe concept of UNIX shell