emuto is a lightweight JSON processor inspired by and nearly porting jq
The following emuto script
[.article.title, .user.name.full_name, .user.age] | { "compressed_article_info": $}
would take an input like this:
{
"user": {
"name": {"nickname": "john3", "full_name": "John Doe"},
"age": 32
},
"article": {"title": "Hello World"}
}
And return a result like this:
{
"compressed_article_info": ["Hello World", "John Doe", 32]
}
Read our contributing guide to learn about our development process, how to create bugfixes and improvements, and how to build and test your changes to emuto.