To add to Viral's good suggestion, you probably know about the JSON.jl and 
YAML.jl packages.

The serializer is out because you said you wanted it human-readable, and may 
not be terribly safe as a long-term storage format anyway.

--Tim

On Sunday, July 27, 2014 05:38:36 AM Oliver Pewter wrote:
> Good afternoon,
> I've built a tool that does various modelling dependent on a handful of
> parameters that may vary from user to user. I would therefore like to allow
> users to have a 'config' file that with some basic settings. These inputs
> are non-rectangular data, so CSV is out, at least if I want the processing
> to be convenient. To give you an idea, it would be several tuples, each
> with a series of strings and a series of floats or vectors. Then some
> general settings (name and float for each). And sometimes I might need to
> nest those tuples.
> 
> I have thought about YAML, JSON, serialised Julia objects in a file or
> straight up Julia code. While the user is expected to understand Julia
> code, I thought it might be more user friendly to have something without
> syntax all around. JSON looks especially alluring since it allows for
> convenient nesting. Also the existence of GUIs is quite convenient.
> 
> So the question is — what do you use or what is the prescribed format for
> this, if there is one.
> 
> Thank you,
> 
> Oli

Reply via email to