User bio
404 bio not found
Member since Jul 24, 2020
Replies:

how could I do it in array cases inside the Json object?

ex: 
{produto:"CHP0001",Local:[{IDMV: "000000001",LOTE: "",DtFabric: "null",DtVenc: "null",Atributo06: "0000000002",Atributo07: "",QtdeDisp: "10.00000",QtdeAloc: "0.00000",QtdeSep: "0.00000",QtdeTotal: "10.00000",Status: "OK",Motivo: ""}]}

DO ##class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject(json,"",.pObject,"")
pObject=<OBJECT REFERENCE>[7@%ZEN.proxyObject]
+----------------- general information ---------------
|      oref value: 7
|      class name: %ZEN.proxyObject
| reference count: 3
+----------------- attribute values ------------------
|           %changed = 1
|     %data("Local") = "6@%Library.ListOfObjects"
|   %data("produto") = "CHP0001"
|             %index = ""
+-----------------------------------------------------
 

if i, ZW pObject.produto -> "CHP0001" 
OK, but!

ZW pObject.Local
<OBJECT REFERENCE>[6@%Library.ListOfObjects]
+----------------- general information ---------------
|      oref value: 6
|      class name: %Library.ListOfObjects
| reference count: 4
+----------------- attribute values ------------------
|            Data(1) = ""
|        ElementType = "%RegisteredObject"
|            Oref(1) = "5@%ZEN.proxyObject"
|               Size = 1  <Set>
+-----------------------------------------------------

how can I get the values ​​contained in the array now?

Certifications & Credly badges:
Luiz Henrique has no Certifications & Credly badges yet.
Global Masters badges:
Luiz Henrique has no Global Masters badges yet.
Followers:
Luiz Henrique has no followers yet.
Following:
Luiz Henrique has not followed anybody yet.