{"my_var_main":{"var_1":"value_1","var_2":"value_2","my_array"}}
But I didn't understand how I can generate automatically my array.
Imagina that my value variable of array is: "my_array". I put this name in the code above and what I should do next?