-->
Page 1 of 1

NodeMCU can't decode JSON and can't convert string to number

PostPosted: Tue Jun 07, 2016 8:22 am
by Cesar050782
Image

Example A:

It shows that the JSON is sent from Android and is received for NodeMCU

Example B and C:

It shows that the JSON can't be decoded

Example D:

Here It's sent a string and the example shows that the string is received

Example E:

This example shows that the string can't be converted to number

Example F:

This is shows the string is nil

I don't undestand what's wrong and I driving me mad. I have tried with Flask and Python and the same thing happens

Re: NodeMCU can't decode JSON and can't convert string to nu

PostPosted: Wed Jun 08, 2016 3:59 pm
by Cesar050782
Image

I found a solution with sockets!

Re: NodeMCU can't decode JSON and can't convert string to nu

PostPosted: Wed Jun 22, 2016 2:09 pm
by marcelstoer
Just for the record here's the StackOverflow question: http://stackoverflow.com/q/37677653/131929