11-12-2019 03:42 AM
Hi
I need to retrieve data from JSON using unflatten from JSON sub vi.
My JSON is {"LogMsg":[{"PE":128,"UID":"WISE-4012_00D0C9E2F3B5","TIM":"1573536496","Record":[[0, 0, 7, 10],[0, 0,11, 0]]}]}
I need the value 7 from it.
I want a method without using any addons
Solved! Go to Solution.
11-12-2019 04:13 AM
11-12-2019 06:58 AM
11-12-2019 07:10 AM
Thanks ... 🙂
It Worked. Now Iwant solution to get that timestamp "1573536496" from that.
Could you please suggest similar for that also.
11-12-2019 07:11 AM - edited 11-12-2019 07:13 AM
Here is another one if you really only want 7:
11-12-2019 07:17 AM
11-12-2019 07:19 AM
@tomp93 wrote:
Thanks ... 🙂
It Worked. Now Iwant solution to get that timestamp "1573536496" from that.
Could you please suggest similar for that also.
I suggest you go to https://regex101.com and test the regex for that by some trial end error. Thats what I always do.
11-12-2019 07:21 AM
@tomp93 wrote:
Thanks ... 🙂
It Worked. Now Iwant solution to get that timestamp "1573536496" from that.
Could you please suggest similar for that also.
What date should 1573536496 be? There are a few different standards...
Anyway, unbundle the string, and parse the string. It's not a JSON problem anymore.
11-12-2019 11:05 AM
Thank you all for the solutions. All worked. 🙂