Does anyone know how to format JSON like this with dict? Having trouble getting objects which are the same name to not replace each other. Does that make sense?
channels:
[
{
channel: 1,
segments:
[
{ start: 10, stop: 30 },
{ start: 45, stop: 60 },
{ start: 65, stop: 75 }
]
}
,
{
channel: 2,
segments:
[
{ start: 35, stop: 45 },
{ start: 65, stop: 75 }
]
}
]