Rabih El Habta
Per the help file for filefilter something like:
Additionally, I'm not sure what a lack of experience programming in Stata has to do with programming in Java. The link that I share previously was to one of the Java classes used by jsonio. That is where changes would need to be made to allow end users to name all of the different objects to their liking. I'm also not sure what you mean when you say the outputs require the nodes to be written without spaces. Everything that comes out conforms to the JSON specification. There are minimizers that you could use to convert the json object to a single string, but unless you are exporting a huge amount of data, the minimization shouldn't make a huge amount of difference (in which case only export the data and if that is still an issue I'm not clear on what your use case is). My knowledge of windows is extraordinarily limited.
Per the help file for filefilter something like:
Code:
filefilter theJsonFile.json theJsonFile.json, from("data") to("Root") replace
Comment