func X3.EN_JSON_COUNT(Clbfile JSON_IN) : Integer

Returns the number of Json present in a collection

  • JSON_IN Clob containing the Json stream
Return Integer Number of entries
Example

# Opening the json file description of the current solution folders
Local Clbfile JSON(8)
Openi filpath("","FOLDERS","json","X3_PUB") Using [FIC]
Iomode adxifs '' Using [FIC] : Iomode adxirs '' Using [FIC] : Iomode adxium 8 Using [FIC]
Rdseq [L]JSON Using [FIC] : Openi Using [FIC]
# Displays the number of json {} present in the file, in principle 1 in this file
Infbox num$(func X3.EN_JSON_COUNT(JSON))