-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsmn_parse in loop results: Object expected Error #181
Comments
I was too hasty asking your help!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear All,
I am playing with JSMN for the first time. It is working for my purposes but I would like to run it in a loop, continouly updating information.
When I run the function for the first time everything works, after that in each loop I receive: Object expected error message.
here is the code: (you have to get your own api key )
(Visual Studio 2019, windows 10)
The received text looks like this:
{"info":{"satname":"SPACE STATION","satid":25544,"transactionscount":91},"positions":[{"satlatitude":-51.79721854,"satlongitude":-12.7783,"sataltitude":439.3,"azimuth":198.83,"elevation":-49.23,"ra":316.23335672,"dec":-77.09388627,"timestamp":1577393729}]}
I learned to program in C about 15 years ago in Linux - I was quite good at it and never used it since. I am sure the code is not elegant. First I want it to work.
I appreciate any help you can provide.
Robert
The text was updated successfully, but these errors were encountered: