Hi All,
I have a requirement, where I need to pass a datastructure from Gecko to
Gaia.
Below an example.
Struct Settings {
SubSettings[] subSettings;
int length;
}
Struct SubSettings {
nsAString[] strings;
int value;
}
Now I need to pass Settings object to the gaia. The logic for function call
is in place. Only that, I don't know how to pass the Structure as the
parameter.
I was thinking to pass the structure as a JSON object (convert it to
string) and Parse the string at the application layer. If so, Can anyone
let me know if there is a json creator in gecko,
If that is a bad idea, What else can i do to get the structure in the app
layer.
--
Regards,
Manjunatha
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g