News for hackers. Stuff that matters.
Re:From Lua to JSON: refactoring WirePlumber's configuration... by xcombelle on Thursday October 27, 2022 @02:05PM (#33361516)
it is not json

  # Usual pipewire configuration variant
  wireplumber.components = [
    { name = libwireplumber-module-default-nodes , type = module },
    { name = policy-device-profile.lua, type = script/lua }
  ]

  # Actual JSON
  "wireplumber.components" : [
    { "name" : "libwireplumber-module-default-nodes" , "type" : "module" }
    { "name" : "policy-device-profile.lua", "type" : "script/lua" }
  ]

  # Even more loose syntax without separator characters
  wireplumber.components  [
    { name  libwireplumber-module-default-nodes   type  module }
    { name  policy-device-profile.lua   type  script/lua }
  ]