summaryrefslogtreecommitdiff
path: root/chef/lib/chef/cookbook/metadata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef/lib/chef/cookbook/metadata.rb')
-rw-r--r--chef/lib/chef/cookbook/metadata.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/lib/chef/cookbook/metadata.rb b/chef/lib/chef/cookbook/metadata.rb
index 2f31893ceb..79ef860b89 100644
--- a/chef/lib/chef/cookbook/metadata.rb
+++ b/chef/lib/chef/cookbook/metadata.rb
@@ -430,12 +430,12 @@ class Chef
end
def self.from_json(string)
- o = JSON.parse(string)
+ o = Chef::JSON.from_json(string)
self.from_hash(o)
end
def from_json(string)
- o = JSON.parse(string)
+ o = Chef::JSON.from_json(string)
from_hash(o)
end