User Tools

Site Tools


json_adaptor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

json_adaptor [2023/12/26 10:50]
montse
json_adaptor [2024/12/10 13:04] (current)
montse [Predefined Functions]
Line 9: Line 9:
   * **JsonFilePath**:​ directory or full path of the json file.   * **JsonFilePath**:​ directory or full path of the json file.
  
-=====Predefined ​Functions (PF)=====+=====Predefined ​functions ​=====
  
   * **getALLJSONElementInfoByTagName**:​ this function allows you to retrieve all the values ​​of an element, with its depth level in a JSON file and return them under a three-column TastDataTable ( TagName, value, level ). You can also filter the result by specifying the low level the one to find the TagName.   * **getALLJSONElementInfoByTagName**:​ this function allows you to retrieve all the values ​​of an element, with its depth level in a JSON file and return them under a three-column TastDataTable ( TagName, value, level ). You can also filter the result by specifying the low level the one to find the TagName.
Line 17: Line 17:
   * **getALLJSONElementValueByTagName**:​ this function allows you to retrieve all the values ​​of an element, associated with the TagName, as an array of values. Presented by a TastRowValues ​​object.   * **getALLJSONElementValueByTagName**:​ this function allows you to retrieve all the values ​​of an element, associated with the TagName, as an array of values. Presented by a TastRowValues ​​object.
         *Input parameters: TagName.         *Input parameters: TagName.
-        *Output parameters: #​TASTROWVALUES Array with STRING type values+        *Output parameters: #​TASTROWVALUES Array with STRING type values.
  
   * **getElementsCountByJsonPath**:​ this function allows you to retrieve the number of elements that match the given JSONPath.   * **getElementsCountByJsonPath**:​ this function allows you to retrieve the number of elements that match the given JSONPath.
Line 25: Line 25:
   * **getElementsCountByTagName**:​ this function allows you to retrieve the number of elements that match the given TagName.   * **getElementsCountByTagName**:​ this function allows you to retrieve the number of elements that match the given TagName.
        ​*Input parameters: TagName.  ​        ​*Input parameters: TagName.  ​
-       ​*Output parameters: #INTEGER Number of elements matching the tagName+       ​*Output parameters: #INTEGER Number of elements matching the tagName.
  
   * **getElementsValueByJsonPath**:​ this function allows you to retrieve TASTROWVALUES with the values ​​of the tags that have the same JSONPath.   * **getElementsValueByJsonPath**:​ this function allows you to retrieve TASTROWVALUES with the values ​​of the tags that have the same JSONPath.
json_adaptor.1703587800.txt.gz · Last modified: 2023/12/26 10:50 by montse