def be_json_sym(expected = Saharspec::Matchers::BeJson::NONE)
      Saharspec::Matchers::BeJson.new(expected, symbolize_names: true)
    end
def be_json_sym(expected = Saharspec::Matchers::BeJson::NONE)
      Saharspec::Matchers::BeJson.new(expected, symbolize_names: true)
    end
`be_json_sym` checks if value is a valid JSON and parses it with `symbolize_names: true`. This
 way, it is convenient to check hashes content with Ruby's short symbolic keys syntax.

 See {#be_json_sym} for examples.

 @param expected Value or matcher to check JSON against. It should implement `#===` method,
   so all standard and custom RSpec matchers work.