diff options
-rw-r--r-- | lib/chef/json_compat.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/json_compat.rb b/lib/chef/json_compat.rb index c4a60665b4..f545c71373 100644 --- a/lib/chef/json_compat.rb +++ b/lib/chef/json_compat.rb @@ -27,14 +27,12 @@ class Chef class <<self - # API to use to avoid create_additions def parse(source, opts = {}) FFI_Yajl::Parser.parse(source, opts) rescue FFI_Yajl::ParseError => e raise Chef::Exceptions::JSON::ParseError, e.message end - # Just call the JSON gem's parse method with a modified :max_nesting field def from_json(source, opts = {}) obj = parse(source, opts) |