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

Is there a json to AML method? #18

Open
yanofsky opened this issue Oct 29, 2015 · 1 comment
Open

Is there a json to AML method? #18

yanofsky opened this issue Oct 29, 2015 · 1 comment

Comments

@yanofsky
Copy link

Is there a archieml-js method that I'm missing that can convert json into AML?

My use case involves having a server that retrieves a AML google doc parses it and returns json just like examples/google_drive.js and an application that requests that json.

I want the application to be able to keep a cached local copy of that document in an AML format for situations where Google Drive goes down or connectivity is limited.

@rdmurphy
Copy link

Zombie answering this question because I was looking for this at one point too — but if you're working with the script provided in google_drive.js you have access to that with the parsedText variable, which is what is passed to archieml.load. Not the same thing as being able to reverse the conversion, but you could add a step that saves that pre-processed version somewhere as your local copy.

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

No branches or pull requests

2 participants