I'm trying to recreate the system of calling functions in chat like minecraft.
But I'm having problems converting LineEdit's texts to an Array.
See the images to better understand:
LineEdit:
I'm trying to get the content in [] as an Array:
Output:
Everything seems to be fine but the [method] value is a String and not an Array...: (Example in Json)

Do you know how I could convert the value of parameter["parameter"] into an Array?
For the result to look like this:
