vendor/bundle/ruby/2.6.0/gems/jekyll-seo-tag-2.8.0/lib/jekyll-seo-tag/json_ld_drop.rb
def to_json(state = nil)
        keys.sort.each_with_object({}) do |(key, _), result|
          v = self[key]
          result[key] = v unless v.nil?
        end.to_json(state)
      end
# Returns a JSON-encoded object containing the JSON-LD data.
# Keys are sorted.
Returns a JSON-encoded object containing the JSON-LD data.
Keys are sorted.
Returns a JSON - encoded object containing the JSON - LD data . Keys are sorted .
def to_json(state = nil)
        keys.sort.each_with_object({}) do |(key, _), result|
          v = self[key]
          result[key] = v unless v.nil?
        end.to_json(state)
      end
def to_json ( state = nil ) keys . sort . each_with_object ( { } ) do | ( key , _ ) , result | v = self [ key ] result [ key ] = v unless v . nil? end . to_json ( state ) end
Returns a JSON-encoded object containing the JSON-LD data.
Returns a JSON - encoded object containing the JSON - LD data .
state