Closed Jercyvz closed 7 months ago
Hi @Jercyvz,
unsigned long
cannot store values above 4,294,967,295.
You must switch to unsigned long long
.
This is a duplicate of #2024.
Best regards. Benoit
OMG!!! That was silly question. Sorry for that. Thanks a lot for your fast answer. My problem resolved.
You're welcome, @Jercyvz. Thank you for using ArduinoJson! Don't forget to cast a star to support the project :wink:
Description Hi. I'm trying to parse next JSON sting below and want to extract "FrequencyHertz" value "{\"APIVersion\":\"2\",\"Data\":{\"AbsoluteAngleOfArrivalRadians\":6.981317007977318,\"AngleOfArrivalErrorRadians\":0.0,\"AngleOfArrivalRadians\":0.0,\"CorrelationKey\":\"3336226785\",\"DetectionCount\":12,\"EpochTimeMilliSeconds\":1702299450911,\"FrequencyHertz\":57000000000,\"Name\":\"FrSky\",\"Protocol\":\"ACCESS\",\"RSSI\":-67}"
Everything works fine unti value is set bigger then 4294967295. And this time parser returns "Ok" status.
Can you help with this?
Thanks, Eugene.
Troubleshooter's report
deserializeJson()
returnsOk
JsonDocument
DeserializationOption::Filter
Environment
Reproduction code
Remarks I'm using Arduino UNO R4 minima