Some further notes:

- yes, the .json extension is explicitly special cased in the code. The
idea is that e.g. @vso foo.csv would serialize the contents of variable
"foo" as csv, .yml would use yaml etc.

- vsi and vso stand for value space input and value space output,
respectively



On Sun, Apr 14, 2013 at 11:31 PM, Ville M. Vainio <[email protected]>wrote:

> I'm doing some research now, that requires storing inputs in json, I use
> those inputs to calculate some outputs and store them in .json files.
>
> I added a few directives to valuespace.py plugin to bring native json data
> support.
>
> @vsi foo.json
>
> reads in file foo.json, and stores the parsed data structure to vs /
> ipython variable "foo"
>
> @vso bar.json
>
> serializes content of variable "bar" to json file.
>
> @vsi gets executed during pass 1 of vs-update, @vso gets executed in phase
> 2.
>
> Body text gets assigned with json content in both cases.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to