json cookbook_collection.first.inspect out put via json lint,虽然不是json最初,很少编辑和好

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json cookbook_collection.first.inspect out put via json lint,虽然不是json最初,很少编辑和好相关的知识,希望对你有一定的参考价值。

{
    "id": "sudo",
    "attribute_filenames": [
        "/srv/chef/file_store/cookbooks/sudo/attributes/default.rb"
    ],
    "attribute_filenames_by_short_filename": {
        "default": "/srv/chef/file_store/cookbooks/sudo/attributes/default.rb"
    },
    "checksums": {
        "ff1463f2b061fa9e5862190fa41122af": "nil",
        "73ccbfef5084b7870053595431c56b1e": "nil",
        "130398da200e483ae423d19681b78d82": "nil",
        "eab78f3df1bca52af57068b34415823c": "nil",
        "b780502a8fe6918773100649cb20a02b": "nil",
        "a89aba686e93d4ed955f68f1da52c614": "nil",
        "f1a732fa44ee8eacc9ada77f75d580d3": "nil",
        "8f7bb094c7232b058c7e9f2e431f389c": "nil",
        "61d8ab1dc92c0d6460f00579bf8449fd": "nil",
        "a40d9c63cfee2c07bbb1a608588232be": "nil",
        "c3777a6b63883d9cf93ac870472c2f1a": "nil",
        "0b6c0a592e960dce30b40562d48b4242": "nil",
        "156c110bf84f0f91906c931fc1e4f361": "nil",
        "cdbfe5247dfb2d74c4e7153d33bb82d5": "nil",
        "4a8dab8b917d7f883f7340247ccce60d": "nil",
        "b53826d5fdd07cb2227324774bda9c21": "nil",
        "61e2ee36dc50547be9cbd530aafd9227": "nil",
        "396e568d67b99737876673e1b81ff28d": "nil",
        "09688a2e0bf9edd0eabf6cd8abbe7314": "nil"
    },
    "definition_filenames": [],
    "file_filenames": [
        "README"
    ],
    "file_vendor": "nil",
    "frozen": false,
    "library_filenames": [],
    "manifest": {
        "recipes": [
            {
                "name": "default.rb",
                "path": "recipes/default.rb",
                "checksum": "130398da200e483ae423d19681b78d82",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-130398da200e483ae423d19681b78d82?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=uJ3X7Ic%2B35mYDSMZZ9hp6XuVkiY%3D"
            }
        ],
        "definitions": [],
        "libraries": [],
        "attributes": [
            {
                "name": "default.rb",
                "path": "attributes/default.rb",
                "checksum": "eab78f3df1bca52af57068b34415823c",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-eab78f3df1bca52af57068b34415823c?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=F8vEt9VEZVb7MM%2BTAuje/adJV9Y%3D"
            }
        ],
        "files": [
            {
                "name": "README",
                "path": "files/default/README",
                "checksum": "b780502a8fe6918773100649cb20a02b",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-b780502a8fe6918773100649cb20a02b?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=nmLRPGFti%2B/Z86ReCDrtscuvXsY%3D"
            }
        ],
        "templates": [
            {
                "name": "sudoers.erb",
                "path": "templates/default/sudoers.erb",
                "checksum": "a89aba686e93d4ed955f68f1da52c614",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-a89aba686e93d4ed955f68f1da52c614?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=gE33vU6J2m/TbGawyy81FO48LRw%3D"
            },
            {
                "name": "sudoer.erb",
                "path": "templates/default/sudoer.erb",
                "checksum": "f1a732fa44ee8eacc9ada77f75d580d3",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-f1a732fa44ee8eacc9ada77f75d580d3?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=MR2Y815lHrZmNIlM/uFTwWatobw%3D"
            }
        ],
        "resources": [
            {
                "name": "default.rb",
                "path": "resources/default.rb",
                "checksum": "ff1463f2b061fa9e5862190fa41122af",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-ff1463f2b061fa9e5862190fa41122af?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=ZemvROMrL3OWE1w7Gn1u84fF4O0%3D"
            }
        ],
        "providers": [
            {
                "name": "default.rb",
                "path": "providers/default.rb",
                "checksum": "73ccbfef5084b7870053595431c56b1e",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-73ccbfef5084b7870053595431c56b1e?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=IzDjj8ZQB5dyymxGZARi4mvIe3k%3D"
            }
        ],
        "root_files": [
            {
                "name": "LICENSE",
                "path": "LICENSE",
                "checksum": "8f7bb094c7232b058c7e9f2e431f389c",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=SI1VBqQe4870kSp9MMfVJUwV8gg%3D"
            },
            {
                "name": "README.md",
                "path": "README.md",
                "checksum": "61d8ab1dc92c0d6460f00579bf8449fd",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-61d8ab1dc92c0d6460f00579bf8449fd?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=vrzocDrM36/At9RI4xIdVhdviko%3D"
            },
            {
                "name": "CONTRIBUTING.md",
                "path": "CONTRIBUTING.md",
                "checksum": "a40d9c63cfee2c07bbb1a608588232be",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-a40d9c63cfee2c07bbb1a608588232be?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=pFyWlNPANd7fRRdZZEhwPlSlHIk%3D"
            },
            {
                "name": ".rspec",
                "path": ".rspec",
                "checksum": "c3777a6b63883d9cf93ac870472c2f1a",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-c3777a6b63883d9cf93ac870472c2f1a?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=KaJUn4Woq5%2BfGlkZfzdcBYBJCdI%3D"
            },
            {
                "name": "Gemfile",
                "path": "Gemfile",
                "checksum": "0b6c0a592e960dce30b40562d48b4242",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-0b6c0a592e960dce30b40562d48b4242?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=%2BECGu1%2BfVf5zM9OiJF2SjMVvhFU%3D"
            },
            {
                "name": "CHANGELOG.md",
                "path": "CHANGELOG.md",
                "checksum": "156c110bf84f0f91906c931fc1e4f361",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-156c110bf84f0f91906c931fc1e4f361?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=6irBWwfvSwpE1IuPwu0duYcP9B0%3D"
            },
            {
                "name": "metadata.json",
                "path": "metadata.json",
                "checksum": "cdbfe5247dfb2d74c4e7153d33bb82d5",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-cdbfe5247dfb2d74c4e7153d33bb82d5?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=rPpIMhSO24JIg0x3qMdKVelIGzs%3D"
            },
            {
                "name": ".kitchen.yml",
                "path": ".kitchen.yml",
                "checksum": "4a8dab8b917d7f883f7340247ccce60d",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-4a8dab8b917d7f883f7340247ccce60d?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=vlg%2BKrX8E7Ltd4sIV7pFchXW7xI%3D"
            },
            {
                "name": "metadata.rb",
                "path": "metadata.rb",
                "checksum": "b53826d5fdd07cb2227324774bda9c21",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-b53826d5fdd07cb2227324774bda9c21?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=BFcCIGm4Cv1fKaxMiRsbMPutonQ%3D"
            },
            {
                "name": "Berksfile",
                "path": "Berksfile",
                "checksum": "61e2ee36dc50547be9cbd530aafd9227",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-61e2ee36dc50547be9cbd530aafd9227?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=7bvFE7iD0IpK2y6mBsP0e3FZm1s%3D"
            },
            {
                "name": "TESTING.md",
                "path": "TESTING.md",
                "checksum": "396e568d67b99737876673e1b81ff28d",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-396e568d67b99737876673e1b81ff28d?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=d9hJwSci2rg9Ax0BfS2eBb/NRKw%3D"
            },
            {
                "name": ".gitignore",
                "path": ".gitignore",
                "checksum": "09688a2e0bf9edd0eabf6cd8abbe7314",
                "specificity": "default",
                "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-09688a2e0bf9edd0eabf6cd8abbe7314?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=MaeV80RzYWO5/w8eu3OjMdUijzg%3D"
            }
        ],
        "cookbook_name": "sudo",
        "version": "2.1.4",
        "name": "sudo-2.1.4",
        "frozen?": false,
        "chef_type": "cookbook_version",
        "json_class": "Chef: : CookbookVersion",
        "metadata": {
            "name": "sudo",
            "description": "Installssudoandconfigures/etc/sudoers",
            "long_description": "",
            "maintainer": "Opscode,Inc.",
            "maintainer_email": "cookbooksopscode.com",
            "license": "Apache2.0",
            "platforms": {
                "redhat": ">=0.0.0",
                "centos": ">=0.0.0",
                "fedora": ">=0.0.0",
                "ubuntu": ">=0.0.0",
                "debian": ">=0.0.0",
                "freebsd": ">=0.0.0"
            },
            "dependencies": {},
            "recommendations": {},
            "suggestions": {},
            "conflicting": {},
            "providing": {
                "sudo": ">=0.0.0"
            },
            "replacing": {},
            "attributes": {},
            "groupings": {},
            "recipes": {
                "sudo": "Installssudoandconfigures/etc/sudoers"
            },
            "version": "2.1.4"
        }
    },
    "manifest_records_by_path": {
        "resources/default.rb": {
            "name": "default.rb",
            "path": "resources/default.rb",
            "checksum": "ff1463f2b061fa9e5862190fa41122af",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-ff1463f2b061fa9e5862190fa41122af?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=ZemvROMrL3OWE1w7Gn1u84fF4O0%3D"
        },
        "providers/default.rb": {
            "name": "default.rb",
            "path": "providers/default.rb",
            "checksum": "73ccbfef5084b7870053595431c56b1e",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-73ccbfef5084b7870053595431c56b1e?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=IzDjj8ZQB5dyymxGZARi4mvIe3k%3D"
        },
        "recipes/default.rb": {
            "name": "default.rb",
            "path": "recipes/default.rb",
            "checksum": "130398da200e483ae423d19681b78d82",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-130398da200e483ae423d19681b78d82?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=uJ3X7Ic%2B35mYDSMZZ9hp6XuVkiY%3D"
        },
        "attributes/default.rb": {
            "name": "default.rb",
            "path": "attributes/default.rb",
            "checksum": "eab78f3df1bca52af57068b34415823c",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-eab78f3df1bca52af57068b34415823c?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=F8vEt9VEZVb7MM%2BTAuje/adJV9Y%3D"
        },
        "files/default/README": {
            "name": "README",
            "path": "files/default/README",
            "checksum": "b780502a8fe6918773100649cb20a02b",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-b780502a8fe6918773100649cb20a02b?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=nmLRPGFti%2B/Z86ReCDrtscuvXsY%3D"
        },
        "templates/default/sudoers.erb": {
            "name": "sudoers.erb",
            "path": "templates/default/sudoers.erb",
            "checksum": "a89aba686e93d4ed955f68f1da52c614",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-a89aba686e93d4ed955f68f1da52c614?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=gE33vU6J2m/TbGawyy81FO48LRw%3D"
        },
        "templates/default/sudoer.erb": {
            "name": "sudoer.erb",
            "path": "templates/default/sudoer.erb",
            "checksum": "f1a732fa44ee8eacc9ada77f75d580d3",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-f1a732fa44ee8eacc9ada77f75d580d3?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=MR2Y815lHrZmNIlM/uFTwWatobw%3D"
        },
        "LICENSE": {
            "name": "LICENSE",
            "path": "LICENSE",
            "checksum": "8f7bb094c7232b058c7e9f2e431f389c",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-8f7bb094c7232b058c7e9f2e431f389c?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=SI1VBqQe4870kSp9MMfVJUwV8gg%3D"
        },
        "README.md": {
            "name": "README.md",
            "path": "README.md",
            "checksum": "61d8ab1dc92c0d6460f00579bf8449fd",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-61d8ab1dc92c0d6460f00579bf8449fd?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=vrzocDrM36/At9RI4xIdVhdviko%3D"
        },
        "CONTRIBUTING.md": {
            "name": "CONTRIBUTING.md",
            "path": "CONTRIBUTING.md",
            "checksum": "a40d9c63cfee2c07bbb1a608588232be",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-a40d9c63cfee2c07bbb1a608588232be?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=pFyWlNPANd7fRRdZZEhwPlSlHIk%3D"
        },
        ".rspec": {
            "name": ".rspec",
            "path": ".rspec",
            "checksum": "c3777a6b63883d9cf93ac870472c2f1a",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-c3777a6b63883d9cf93ac870472c2f1a?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=KaJUn4Woq5%2BfGlkZfzdcBYBJCdI%3D"
        },
        "Gemfile": {
            "name": "Gemfile",
            "path": "Gemfile",
            "checksum": "0b6c0a592e960dce30b40562d48b4242",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-0b6c0a592e960dce30b40562d48b4242?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=%2BECGu1%2BfVf5zM9OiJF2SjMVvhFU%3D"
        },
        "CHANGELOG.md": {
            "name": "CHANGELOG.md",
            "path": "CHANGELOG.md",
            "checksum": "156c110bf84f0f91906c931fc1e4f361",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-156c110bf84f0f91906c931fc1e4f361?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=6irBWwfvSwpE1IuPwu0duYcP9B0%3D"
        },
        "metadata.json": {
            "name": "metadata.json",
            "path": "metadata.json",
            "checksum": "cdbfe5247dfb2d74c4e7153d33bb82d5",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-cdbfe5247dfb2d74c4e7153d33bb82d5?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=rPpIMhSO24JIg0x3qMdKVelIGzs%3D"
        },
        ".kitchen.yml": {
            "name": ".kitchen.yml",
            "path": ".kitchen.yml",
            "checksum": "4a8dab8b917d7f883f7340247ccce60d",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-4a8dab8b917d7f883f7340247ccce60d?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=vlg%2BKrX8E7Ltd4sIV7pFchXW7xI%3D"
        },
        "metadata.rb": {
            "name": "metadata.rb",
            "path": "metadata.rb",
            "checksum": "b53826d5fdd07cb2227324774bda9c21",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-b53826d5fdd07cb2227324774bda9c21?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=BFcCIGm4Cv1fKaxMiRsbMPutonQ%3D"
        },
        "Berksfile": {
            "name": "Berksfile",
            "path": "Berksfile",
            "checksum": "61e2ee36dc50547be9cbd530aafd9227",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-61e2ee36dc50547be9cbd530aafd9227?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=7bvFE7iD0IpK2y6mBsP0e3FZm1s%3D"
        },
        "TESTING.md": {
            "name": "TESTING.md",
            "path": "TESTING.md",
            "checksum": "396e568d67b99737876673e1b81ff28d",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-396e568d67b99737876673e1b81ff28d?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=d9hJwSci2rg9Ax0BfS2eBb/NRKw%3D"
        },
        ".gitignore": {
            "name": ".gitignore",
            "path": ".gitignore",
            "checksum": "09688a2e0bf9edd0eabf6cd8abbe7314",
            "specificity": "default",
            "url": "https: //172.30.10.10: 443/bookshelf/organization-00000000000000000000000000000000/checksum-09688a2e0bf9edd0eabf6cd8abbe7314?AWSAccessKeyId=908c42de9efadd7d8e99a3f69bc2312fggaarggr&Expires=1381194308&Signature=MaeV80RzYWO5/w8eu3OjMdUijzg%3D"
        }
    },
    "attributes": {
        "conflicting": {},
        "cookbook": "nil",
        "dependencies": {},
        "description": "Installssudoandconfigures/etc/sudoers",
        "groupings": {},
        "license": "Apache2.0",
        "long_description": "",
        "maintainer": "Opscode Inc.",
        "maintainer_email": "cookbooksopscode.com",
        "name": "sudo",
        "platforms": {
            "redhat": ">=0.0.0",
            "centos": ">=0.0.0",
            "fedora": ">=0.0.0",
            "ubuntu": ">=0.0.0",
            "debian": ">=0.0.0",
            "freebsd": ">=0.0.0"
        },
        "providing": {
            "sudo": ">=0.0.0"
        },
        "recipes": {
            "sudo": "Installssudoandconfigures/etc/sudoers"
        },
        "recommendations": {},
        "replacing": {},
        "suggestions": {},
        "version": "2.1.4",
        "metadata_filenames": [],
        "provider_filenames": [
            "/srv/chef/file_store/cookbooks/sudo/providers/default.rb"
        ],
        "recipe_filenames": [
            "/srv/chef/file_store/cookbooks/sudo/recipes/default.rb"
        ],
        "recipe_filenames_by_name": {
            "default": "/srv/chef/file_store/cookbooks/sudo/recipes/default.rb"
        },
        "resource_filenames": [
            "/srv/chef/file_store/cookbooks/sudo/resources/default.rb"
        ],
        "root_dir": "nil",
        "root_filenames": [
            "/srv/chef/file_store/cookbooks/sudo/LICENSE",
            "/srv/chef/file_store/cookbooks/sudo/README.md",
            "/srv/chef/file_store/cookbooks/sudo/CONTRIBUTING.md",
            "/srv/chef/file_store/cookbooks/sudo/.rspec",
            "/srv/chef/file_store/cookbooks/sudo/Gemfile",
            "/srv/chef/file_store/cookbooks/sudo/CHANGELOG.md",
            "/srv/chef/file_store/cookbooks/sudo/metadata.json",
            "/srv/chef/file_store/cookbooks/sudo/.kitchen.yml",
            "/srv/chef/file_store/cookbooks/sudo/metadata.rb",
            "/srv/chef/file_store/cookbooks/sudo/Berksfile",
            "/srv/chef/file_store/cookbooks/sudo/TESTING.md",
            "/srv/chef/file_store/cookbooks/sudo/.gitignore"
        ],
        "status": "ready",
        "template_filenames": [
            "sudoers.erb",
            "sudoer.erb"
        ]
    }
}

以上是关于json cookbook_collection.first.inspect out put via json lint,虽然不是json最初,很少编辑和好的主要内容,如果未能解决你的问题,请参考以下文章

python中json文件处理涉及的四个函数json.dumps()和json.loads()json.dump()和json.load()的区分

json数据和json数组格式数据的区别

JSON相关 JSON在线解析 JSON压缩转义工具 JSON着色工具 JSON 在线格式化工具 在线XML/JSON互相转换工具 XMLJSON在线转换

python中json文件处理涉及的四个函数json.dumps()和json.loads()json.dump()和json.load()的区分

python中json文件处理涉及的四个函数json.dumps()和json.loads()json.dump()和json.load()的区分

Python中json文件处理的四个函数json.dumps()json.loads()json.dump()和json.load()的区分