Thanks that works
I just wish I knew enough to understand the two lines .... but I will keep learning
Search found 187 matches
- Tuesday 11th December 2018 8:05am
- Forum: General
- Topic: Json formating output
- Replies: 10
- Views: 13215
- Monday 10th December 2018 4:35pm
- Forum: General
- Topic: Json formating output
- Replies: 10
- Views: 13215
Re: Json formating output
Thank you for your reply All I get from the download is the same thing you have in your post and a list of clients. I must be doing something wrong with the download. I think the use of the Collection variable is what is removing the format from the data. so I will have to use a string or string arr...
- Sunday 9th December 2018 5:51pm
- Forum: General
- Topic: Json formating output
- Replies: 10
- Views: 13215
Re: Json formating output
this is my original file : { "data": { "autopilot": { "aircraftType": 0, "altHoldRate": 50 } } } then I run this program : Public Sub Form_Open() Dim cReciverDta As Collection cReciverDta = JSON.Decode(File.Load("~/airplane files/testfile.txt")) File...
- Saturday 8th December 2018 6:05am
- Forum: General
- Topic: Json formating output
- Replies: 10
- Views: 13215
Json formating output
how do I output a file using Json with line feeds and tabs ? this is what I get now: {"data":{"autopilot":{"aircraftType":0,"altHoldRate":10,"attitude":{"0":{"0":{"envelopeNeg":0,"envelopePos":0,"feature&q...
- Friday 7th December 2018 7:34pm
- Forum: General
- Topic: how to index a collection
- Replies: 2
- Views: 4921
Re: how to index a collection
I found the answer to my to the question :
need to use "[ ]" instead of " , " .... square brackets instead of a comma
need to use "[ ]" instead of " , " .... square brackets instead of a comma
- Wednesday 5th December 2018 5:47am
- Forum: General
- Topic: how to index a collection
- Replies: 2
- Views: 4921
how to index a collection
I downloaded a file with json to a collection, now I need to index the collection to retrieve the data from the collection listofdata = JSON.Decode(File.Load("~/airplane files/Conscendo S2.srm")) myindex = "data" & "," & "autopilot" & ","...
- Wednesday 5th December 2018 5:09am
- Forum: General
- Topic: No Spaces on JSON.Decode
- Replies: 5
- Views: 8397
Re: No Spaces on JSON.Decode
I am also working with json and havine trouble indexing a collection. listofdata = JSON.Decode(File.Load("~/airplane files/Conscendo S2.srm")) myindex = "data" & "," & "autopilot" & "," & "altHoldRate" Print listofdata.count...