B4X FEED Json Tree parsing code is not usable for this dataset

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Json Tree parsing code is not usable for this dataset است. این موضوع تا کنون 35 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Json Tree parsing code is not usable for this dataset
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
35
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,593
4,508
I'm a Json noob and have not been able to figure out how to parse this data. The Json Tree tool looks good for the first three lines, but then hard-codes the rest of it. The object names I am after are serial numbers and are never used twice. So the tool hard-coding them doesn't work. I've tried to use code from Erel's examples to write my own parser for this Json file, but have not made much progress. I know I could use Regex to parse it but have seen Erel tell other so not use Regex for Json files.

JSON:

{"U2730336": {"software_name": "radiosonde_auto_rx", "software_version": "1.5.10", "uploader_callsign": "TFDHU2", "uploader_position": "47.189994,19.780331", "uploader_antenna": "Sirio CX 395", "time_received": "2022-08-07T13:35:14.247058Z", "datetime": "2022-08-07T13:35:30.000000Z", "manufacturer": "Vaisala", "type": "RS41", "serial": "U2730336", "subtype": "RS41-SGP", "frame": 9952, "lat": 46.45059, "lon": 20.32032, "alt": 1343.02549, "temp": 19.2, "humidity": 60.0, "pressure"...



 

عقب
بالا