JSON boolean type support

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 4.2.0
    • Component/s: Server (S)
    • None

      Please support JSON boolean type, either as decimal, or allowing to use the preprocessing boolean to decimal step.

      Currently, given

      "system": {
       "current-firmware": "6.43.13",
       "factory-firmware": "3.33",
       "supports-prb": true,
       "upgrade-available": false,
       "upgrade-firmware": "6.43.13"
       }

      this occurs

      Apr 10 20:51:40 status zabbix_server[2489]: error reason for "100.100.0.172:system.hw.firmware.upgrade" changed: Preprocessing failed for:
      1. Failed: cannot extract value from json by path "$.system["upgrade-available"]": invalid type of JSON value "true, "upgrade-available": false,
      

        1. test.png
          51 kB
          Glebs Ivanovskis

            Assignee:
            Arturs Lontons
            Reporter:
            Omni Flux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: