package parser

type jsonObject map[string]interface{}

func (j jsonObject) getString(key string) string {
	value, found := j[key]
	if !found {
		return ""
	}

	str, ok := value.(string)
	if !ok {
		return ""
	}

	return str
}
