Currently, all fields in JSONs, except for the boolean fields, are strings. Numeric fields should be represented as numbers.
For example, this current output:
{
"manufacturer": "3D Robotics",
"name": "Aero",
"uas_class": "none",
"weight": "3000",
"max_takeoff": "3000",
"endurance": "40",
"has_camera": null,
"is_toy": null
},
Should look like this:
{
"manufacturer": "3D Robotics",
"name": "Aero",
"uas_class": "none",
"weight": 3000,
"max_takeoff": 3000,
"endurance": 40,
"has_camera": null,
"is_toy": null
},
If there is a numeric value missing, it should be null.
Currently, all fields in JSONs, except for the boolean fields, are strings. Numeric fields should be represented as numbers.
For example, this current output:
{ "manufacturer": "3D Robotics", "name": "Aero", "uas_class": "none", "weight": "3000", "max_takeoff": "3000", "endurance": "40", "has_camera": null, "is_toy": null },Should look like this:
{ "manufacturer": "3D Robotics", "name": "Aero", "uas_class": "none", "weight": 3000, "max_takeoff": 3000, "endurance": 40, "has_camera": null, "is_toy": null },If there is a numeric value missing, it should be
null.