You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many languages (e.g. Python, Ruby, JavaScript) come with a JSON parser out of the box; libraries that automatically parse JSON into class instances are also popular. This makes JSON very easy to use compared to custom per-program formats. It also has some other advantages, such as easy forward compatibility (just ignore unknown keys in the parser).
For these reasons, I think that a JSON mode would be a great addition to ddcutil. Perhaps something like this hypothetical output:
JSON has become extremely popular as a format for exchanging data between different programs. Many command-line utilities support it these days:
Many languages (e.g. Python, Ruby, JavaScript) come with a JSON parser out of the box; libraries that automatically parse JSON into class instances are also popular. This makes JSON very easy to use compared to custom per-program formats. It also has some other advantages, such as easy forward compatibility (just ignore unknown keys in the parser).
For these reasons, I think that a JSON mode would be a great addition to
ddcutil
. Perhaps something like this hypothetical output:The text was updated successfully, but these errors were encountered: