Using JSON to change color.
I am attempting to use a JSON script to change the color of a solid. I have the solid hooked up to a color controller that uses the "Color Control" effect.
I got a text layer to hook up to my JSON using this expression:
eval("var practiceText=" + footage("bogus.json").sourceText);
practiceText[0].PracticeText;
I am trying to use a similar expression to change the color of that solid:
eval("var mainColor=" + footage("bogus.json").color);
mainColor[0].MainColor
However I keep getting the error "Error: TypeError: cannot read property of '0' of undefined"
Does anyone know what I would need to change to get it to read the color value in the JSON?
This is what my JSON script looks like.

This is a full picture of the expression on the color control

