module Chef::ResourceCollection::ResourceCollectionSerialization::ClassMethods

def from_hash(o)

def from_hash(o)
  collection = new
  o["instance_vars"].each do |k, v|
    collection.instance_variable_set(k.to_sym, v)
  end
  collection
end

def from_json(j)

def from_json(j)
  from_hash(Chef::JSONCompat.parse(j))
end