ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: sebutzu on June 13, 2023, 04:58:29 PM

Title: Using struct json output - how to get all tags
Post by: sebutzu on June 13, 2023, 04:58:29 PM
I am using -j -struct options to get the tags in JSON format. What groups should I use to prevent duplicates from being excluded in the output? I assume -G:0:1 is not enough?
Title: Re: Using struct json output - how to get all tags
Post by: StarGeek on June 13, 2023, 09:15:57 PM
From the docs on the -j (-json) option (https://exiftool.org/exiftool_pod.html#j-JSONFILE--json)
QuoteThe -a option is implied when -json is used, but entries with identical JSON names are suppressed in the output. (-G4 may be used to ensure that all tags have unique JSON names.)