import.css=/download/attachments/6062824/tecnologia.css
Retorna uma string que seja o conteúdo de uma propriedade de um objeto JSON
JsonObject:GetJsonText(cPropriedade)
Nome
Tipo
Descrição
cRet
caractere
Exemplo
#include "protheus.ch" user function tstJsonObject() local wrk wrk := JsonObject():new() wrk:fromJson('{"name":"John", "age":31, "city":"New York"}') ) // Retorna "John" ConOut ( wrk:GetJsonText("name") ) FreeObj(wrk) return
Observações:
Disponível em build igual ou superior a 17.2.1.0