Search found 3 matches

by Wackedout
Monday 1st October 2018 4:41pm
Forum: General
Topic: No Spaces on JSON.Decode
Replies: 5
Views: 7854

Re: No Spaces on JSON.Decode

OK I am an idiot (I guess) using "Line Input" instead of "Input" seems to fix it.

Thanks for the help! :D
by Wackedout
Monday 1st October 2018 4:33pm
Forum: General
Topic: No Spaces on JSON.Decode
Replies: 5
Views: 7854

Re: No Spaces on JSON.Decode

Thanks for the welcome... Ok I found out it was before the JSON.Decode, it seems to be FileIn = Open Filename For Input While Not Eof(FileIn) Input #FileIn, FileLine FileData = FileData & FileLine Wend Close FileIn The "FileLine" var has no spaces. am I doing something wrong with the &...
by Wackedout
Monday 1st October 2018 1:36pm
Forum: General
Topic: No Spaces on JSON.Decode
Replies: 5
Views: 7854

No Spaces on JSON.Decode

When I get data using JSON.Decode the strings I have come out with no spaces in them...

i.e.

{
"Foo" : "Bar Bar Foo"
}

When I get the data for "Foo" it comes up as...
"BarBarFoo" instead of "Bar Bar Foo"

So am I forgetting something.