Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
Hello,
I’m not sure I fully understand. Do you need to make it as a GUI or do you need them to see it in a terminal but sorted and sortable?
If you are looking for the latter, I’ll recommend using the JQ package. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed , awk , grep and friends let you play with text. jq is written in portable C, and it has zero runtime dependencies
It sounds a lot harder than it is actually. Imagine you call your API with CURL or whatever you are using, you just need to pipe it with jq and that’s it.
Here is an example. Now, as I don’t have an actual JSON at hand, I’ll echo one for myself:
- echo '{"fruit":{"name":"apple","color":"green","price":1.20}}' | jq '.'
- {
- "fruit": {
- "name": "apple",
- "color": "green",
- "price": 1.2
- }
- }
Let’s assume you want to get only the name of the fruits:
- echo '{"fruit":{"name":"apple","color":"green","price":1.20}}' | jq .fruit.name
- "apple"
If you had more information in the JSON you would’ve seen more information in there.
Hope this helps!