Closed inuyasha-660 closed 6 months ago
@inuyasha-660 If you have gjson v1.16.0 or later you can use the @dig
modifier with: @dig:hash
. It will return a list of hashes. See e8e87f2 for more details.
@inuyasha-660 如果您拥有 gjson v1.16.0 或更高版本,则可以使用
@dig
修饰符:@dig:hash
。它将返回哈希列表。有关更多详细信息,请参阅e8e87f2 。
Thanks to you, it worked successfully
I have a long JSON like this
And i want to get all hash, i try to use
`objects.*.hash`
to get it ,but it only get the first hashb62ca8ec10d07e6bf5ac8dae0c8c1d2e6a1e3356
My code
json: https://piston-meta.mojang.com/v1/packages/9bc63c380207a6a967e5ff6315e645e4085135e5/16.json