Find Item.vi returns Found = TRUE when all input parameters are default (empty)

Issue #36 resolved
Ivan Yakushchenko created an issue

When there is empty input JSON string, and empty “$Path or Item Name” input - then logically it means, that there is nothing to search for (because input search source is empty). Thus, maybe it will be better to return Found = FALSE, because then it means that nothing is found - because there is nothing to search for.

Thank you very much,

Sincerely, Ivan.

Comments (3)

  1. James Powell repo owner

    Empty Path input is treated the same as $, indicating “thisJSONitem”. But we then should return the next JSOn item, rather than the whole string. If there is no JSON item (incl empty string) then that should be an error.

  2. Log in to comment