ghodss/yaml

export convertToJSONableObject

itaysk opened this issue · 0 comments

I have a map[interface{}]interface{} object (or an object the contains it. originated from a yaml parser), and I need to marshal this object into json. I don't think this is the purpose of this library, but it would be super helpful if you just exported the function convertToJSONableObject and allowed people to use it in cases like this.