Free MCA/BCA Projects . We have comprehensive list of Free projects, source codes, books, and tutorials in ASP.NET, C Lannguage,Java, PHP,.NET,, Python, C++ and more. We can use this function to return the array’s length or the number of properties on an object: jq '.fruit | length' fruit.json. Here, we get “3” since the fruit object has three properties. We can even use the length function on string values as well: jq '.fruit.name | length' fruit.json.