diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-11-09 17:02:03 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-11-09 17:02:03 -0800 |
commit | f6f186fa5daf93f5603f76c0498b1a97c73375ea (patch) | |
tree | be10bc00e760ac67ed784b6f4da300f3658fe20b | |
parent | bb3fb5783c8900c38b30b2d5227d1aa1de24d76e (diff) | |
download | chef-f6f186fa5daf93f5603f76c0498b1a97c73375ea.tar.gz |
Remove inaccurate comments.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-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) |