Description
When a value in key/value pairs is a json string containing url,
json_format adds a space after ":" sign in "http://" and this breaks the url.
For example, I have the following object:
entry: {
p_2: {
gadgets: [
,
{"moduleId":"12","url":"http:\/\/localhost\/appdataget.xml"}]
}
}
In the output all the urls become broken because of the space in "http )\\\/\\\/ww..."
{ "entry": { "p_2": { "gadgets": "[
,
{\"moduleId\":\"12\",\"url\":\"http: \\\/\\\/localhost\\\/appdataget.xml\"}]" } } }
See the patch submitted.