ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: mceachen on April 11, 2023, 12:57:00 PM

Title: Minor: can ExifToolVersion be rendered as a string (at least in the -json view)?
Post by: mceachen on April 11, 2023, 12:57:00 PM
ExifToolVersion has always been represented by a float, but that doesn't work well for versions ending in a zero (like version 12.60). When the JSON is parsed, the "12.60" becomes "12.6".

Alternatively--is there a "render this tag as a string" argument you can make (similar to the "render this tag as a number" assertion like "-GPSAltitude#")?
Title: Re: Minor: can ExifToolVersion be rendered as a string (at least in the -json view)?
Post by: Phil Harvey on April 11, 2023, 12:58:41 PM
As far as the version goes, 12.60 is the same as 12.6

There is no option to change the JSON output variable types.

- Phil