JSON
  • 08 Mar 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

JSON

  • Dark
    Light
  • PDF

The JSON adapter is able to import .json files with information about devices, users, or installed software.



The adapter parameters are as same as the CSV adapter parameters. Although the JSON adapter parameter list does not include the File contains installed software information field, the adapter is capable of importing installed software data, but since it has a dynamic structure (unlike CSV), it is not required to declare that.

The functionality of this adapter is as same as the CSV adapter.

Example JSON File

Given the following JSON file with a single device:

[
    {
        "id": "device_example_id",
        "name": "asset_name_example",
        "hostname": "hostname_example",
        "list_example_field": [
            {
                "field1": "value1",
                "field2": "value2"
            }
        ],
        "installed_software": [
            {"swname": "softwar_example_123", "swversion": "v1.2.3.4.5.6.7.8.9.10"}
        ],
        "custom field example": "custom json example value",
        "custom numeric example field": 123
    }
]

The following JSON asset entity will be created:
image.png

image.png


What's Next
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.