Atualizando:
Realizei algumas buscas sobre as funções e suas substituições.
*a função “SPLIT” ainda não consegui configurar corretamente.
código:
#i := 1;
#startIndex := 0;
#endIndex := 0;
#attributeCount := 0;
#rec := ‘,’;
#end := ‘},“time"’;
#startIndex := FIND(IN1 := #data, IN2 := ‘{“data”:{"’) + LEN(’{“data”:{"’);
#endIndex := FIND(IN1 := #data, IN2 := ‘},“time”’)- 1;
#attributeString := MID(IN := #data, P := #startIndex, L := #endIndex - #startIndex + 1);
#ret_Val := SPLIT(Mode := 6, RecSeparator := #rec, EndSeparator := #end,SrcArray := #attributeString, Count => #countPairsTest, DstStruct := #attributePairs, Position := #posSplit);
FOR #i := 1 TO (#countPairsTest) DO
IF #i = #countPairsTest THEN
#endIndex := LEN(#attributePairs[#i]);
ELSE
#endIndex := LEN(#attributePairs[#i]) - 1;
END_IF;
#nomesAtributos[#i] := MID(IN := #attributePairs[#i], L := 2, P := FIND(IN1 := #attributePairs[#i], IN2 := '":"') - 3);
#valoresAtributos[#i] := MID(IN := #attributePairs[#i], L := FIND(IN1 := #attributePairs[#i], IN2 := '":"') + 3, P := #endIndex);
END_FOR;