Avalados por :
Json.IsValidJson(json_string) : Returns true for valid JSON
Json.GetArrayLength(keys, json_string) : Returns the total array length for the keys passed.
Json.IsValidJson(json_string)
import ABSL;
import AP.PDI.Utilities;
var JsonString = "{\"d\": {\"results\": [{ \"__metadata\": { \"type\": \"EmployeeDetails.Employee\" }, \"UserID\": \"E12012\",\"RoleCode\": \"35\"}]}}";
var Result = Json.IsValidJson(JsonString);
KeysTable : Table consisting of keys for which value is required.
JsonS tring : JSON string consisting the keys passed
After executing the API, the function returns the following parameter in the resulting structure.
Key : Key passed in the importing parameter.
Value : Value obtained for the key passed.
contacto@primeinstitute.com
(+51) 1641 9379
(+57) 1489 6964
© 2024 Copyright. Todos los derechos reservados.
Desarrollado por Prime Institute