Skip to content
  • Francesco Giudici's avatar
    libnm-core: preserve keys order in team.config with old jansson libs · 5e6f7de4
    Francesco Giudici authored
    When jansson lib version is < 2.8 the order of the keys of json objects
    is not preserved automatically. In particular, when loading the json
    string, parsing it and dumping it back to a string the key order will be
    lost if the now deprecated JSON_PRESERVE_ORDER flag is not set.
    Add the flag: will do nothing on recent jansson versions but will fix
    behavior for legacy ones.
    5e6f7de4