3 Replies Latest reply on Nov 30, 2017 11:07 AM by nmilleson RSS
    gseq Apprentice

    How do I create and write a JSON file to a repo containing thing properties

    Hello,

    I have a thing. I have a set of properties in that thing

    property1, property2.

     

    The aim is to create a JSON file containing these two properties and send these to a remote edge via the file repository transfer service. The edge is running EMS. There are a lot more properties, but this is an example.

     

    There are two parts to this question:

    1. How do I write these properties to a JSON file. The only way to convert to JSON is via an INFOTABLE, but this is not a table, just a static config file.

     

    2. Once I convert to JSON, what is the procedure to save to a particular repo. I see SaveJSON.