Skip to content

update structure of JSON data #1

@sjwang90

Description

@sjwang90

@Jayclifford345 Can we update the structure of the json data coming from the simulator from what we agreed to in Slack? We're going to use this as a guide for users to connect to.

{
   "device":{
      "generator_id":"generator1",
      "coord":[
         {
            "deployment-type":"production",
            "lat":40.68066,
            "lon":-73.47429
         },
         {
            "deployment-type":"development",
            "lat":39.68066,
            "lon":-73.47429
         }
      ]
   },
   "payload":{
      "Temperature":186,
      "Power":186,
      "Load":2,
      "Fuel":277
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions