Skip to content
  • Thomas Haller's avatar
    libnm: expose nm_utils_is_json_object() utility function · 32f78ae6
    Thomas Haller authored
    Since we possibly already link against libjansson, we can also expose some
    helper utils which allows nmcli to do basic validation of JSON without
    requiring to duplicate the effort of using libjansson.
    
    Also, tighten up the cecks to ensure that we have a JSON object at hand.
    We are really interested in that and not of arrays or literals.
    32f78ae6