fbarresi / BeckhoffJsonReadWriter

Read and write json file from a Beckhoff PLC
MIT License
23 stars 4 forks source link

ReadFile cannot parse ARRAY OF STRUCT #7

Open ECCO-RUO opened 1 year ago

ECCO-RUO commented 1 year ago

Hi there. Thank you for this library 👍.

I have an issue while importing the JSON file to the structures. If I import it to a structure with ARAYS inside, it's fine but, if I try to import into an ARRAY OF STRUCT, it will not import nothing.

Can you confirm this issue?

Thanks

fbarresi commented 1 year ago

Hi! Please, apologize my late answer.

No, it should not work in this way... Did you make sure you used the json attribute in your structure?

Can you post an example of your DUT so I can reproduce it? Thanks.

Best regards, FB

fbarresi commented 1 year ago

with the json attribute I'm referring to this: https://github.com/fbarresi/BeckhoffJsonReadWriter/tree/master#the-json-attribute

ECCO-RUO commented 1 year ago

hi. i managed to solve the issue.

i am on hollidays so can't show pics. once i get back to work i'll send you some pictures

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Federico Barresi @.> Sent: Sunday, July 30, 2023 2:06:34 PM To: fbarresi/BeckhoffJsonReadWriter @.> Cc: André Oliveira @.>; Author @.> Subject: Re: [fbarresi/BeckhoffJsonReadWriter] ReadFile cannot parse ARRAY OF STRUCT (Issue #7)

[EXTERNAL SENDER] - Be Careful with links and attachments

with the json attribute I'm referring to this: https://github.com/fbarresi/BeckhoffJsonReadWriter/tree/master#the-json-attribute

— Reply to this email directly, view it on GitHubhttps://github.com/fbarresi/BeckhoffJsonReadWriter/issues/7#issuecomment-1657122518, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3WDS3PJCY5YJBISIQJBACLXSZE4VANCNFSM6AAAAAA2Q74N2A. You are receiving this because you authored the thread.Message ID: @.***>