diff --git a/format/bplist/bplist.jq b/format/bplist/bplist.jq index cef56d2d..4315f9e0 100644 --- a/format/bplist/bplist.jq +++ b/format/bplist/bplist.jq @@ -1,13 +1,13 @@ def _bplist_torepr: def _f: - ( if .type == "singleton" then .value - elif .type == "int" then .value - elif .type == "real" then .value - elif .type == "date" then .value - elif .type == "data" then .value - elif .type == "ascii_string" then .value - elif .type == "unicode_string" then .value - elif .type == "uid" then .value + ( if .type == "singleton" then .value | tovalue + elif .type == "int" then .value | tovalue + elif .type == "real" then .value | tovalue + elif .type == "date" then .value | tovalue + elif .type == "data" then .value | tovalue + elif .type == "ascii_string" then .value | tovalue + elif .type == "unicode_string" then .value | tovalue + elif .type == "uid" then .value | tovalue elif .type == "array" then ( .entries | map(_f) diff --git a/format/bplist/testdata/bplist.fqtest b/format/bplist/testdata/bplist.fqtest index ddf45957..b0f24f81 100644 --- a/format/bplist/testdata/bplist.fqtest +++ b/format/bplist/testdata/bplist.fqtest @@ -2420,3 +2420,5 @@ $ fq torepr Info.plist "LSMinimumSystemVersion": "10.14", "NSHumanReadableCopyright": "Copyright (c) 2011-2021 Apple Inc. All rights reserved." } +$ fq torepr.CFBundleName Info.plist +"AppleProResCodecEmbedded"