Skip to content

Wrong JSON format #6

Description

@ivoruetsche

Hi

I got this back from the dmidecode:

Handle 0x0016, DMI type 13, 22 bytes
BIOS Language Information
        Language Description Format: Long
        Installable Languages: 8
                en|US|iso8859-1,0
                fr|CA|iso8859-1,0
                zh|TW|unicode,0
                ja|JP|unicode,0
                it|IT|iso8859-1,0
                es|ES|iso8859-1,0
                de|DE|iso8859-1,0
                pt|PT|iso8859-1,0
        Currently Installed Language: en|US|iso8859-1,0

Handle 0x0017, DMI type 14, 17 bytes
Group Associations
        Name: Firmware Version Info
        Items: 4
                0x002B (OEM-specific)
                0x0029 (OEM-specific)
                0x0028 (OEM-specific)
                0x0027 (OEM-specific)

Handle 0x0018, DMI type 14, 8 bytes
Group Associations
        Name: Intel(R) Silicon View Technology
        Items: 1
                0x002F (OEM-specific)

Handle 0x0019, DMI type 14, 8 bytes
Group Associations
        Name: $MEI
        Items: 1
                0x002A (OEM-specific)

Handle 0x001A, DMI type 16, 23 bytes

and it convert to:

,
  "BIOSLanguageInformation":
  [
  {
      "LanguageDescriptionFormat": "Long",
      "InstallableLanguages": "8",
"fr|CA|iso8859-1,0",
"zh|TW|unicode,0",
"ja|JP|unicode,0",
"it|IT|iso8859-1,0",
"es|ES|iso8859-1,0",
"de|DE|iso8859-1,0",
"pt|PT|iso8859-1,0"      "CurrentlyInstalledLanguage": "en|US|iso8859-1,0"
  }
,
  {
      "Name": "Firmware Version Info",
      "Items": "4",
"0x0029 (OEM-specific)",
"0x0028 (OEM-specific)",
"0x0027 (OEM-specific)"
  }
,
  {
      "Name": "Intel(R) Silicon View Technology",
      "Items": "1",

  }
,
  {
      "Name": "$MEI",
      "Items": "1",

  }

  ]
,

...but the "InstallableLanguages" and "Firmware Version Info" is not valid

Ivo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions