Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON generator #5

Open
ivh opened this issue Mar 11, 2011 · 0 comments
Open

JSON generator #5

ivh opened this issue Mar 11, 2011 · 0 comments

Comments

@ivh
Copy link
Member

ivh commented Mar 11, 2011

Once we have the schema and the corresponding dictionary fixed, we can simply switch to json for data transfer. It could look like

     {"States":[{"SpeciesRef":"3", "MolecularStateEnergy":"4.5", ...}, 
     {another state}], "Sources":[{"SrcID":4, "Authors":[{..},{..}]}], 
     "Species":[...], "Processes":[...]}

you get the idea.

I.e. with the dictionary alone and the basic logical structure, we basically have an abstract schema that can be used not only in xml. At least from my node software this would be almost trivial to implement since python dictionaries and lists map one to one to json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant