func X3.EN_JSON_GET_ONE(Clbfile JSON_IN, Integer NUMBER_IN) : Clbfile

Returns the NUMBER_IN entry (from 1 to X) of a collection

  • JSON_IN Clob Json collection to get input from
  • NUMBER_IN Integer Number of the input to retrieve (1 to X)
Return Clbfile Clob Json collection number X
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]
# Shows the flow of the first folder of the Json fileCall AFFMES(func X3.EN_JSON_GET_ONE(func X3.EN_JSON_GET_VALUE([L]JSON, "folders"), 1)) From GESECRAN