class Cucumber::Formatter::Json

def create_doc_string_hash(doc_string, doc_string_content)

def create_doc_string_hash(doc_string, doc_string_content)
  content_type = doc_string.media_type || ''
  {
    value: doc_string_content,
    content_type: content_type,
    line: doc_string.location.line
  }
end