There is a method in KineticJS to draw a stage (canvas) from json
Kinetic.Node.create(JSON, 'container');
There are many layers on stage. I have saved a layer in to JSON
How can I draw just one layer on existing stage?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why don’t you just use AJAX to execute the code?
You can make this dependent on what is stored in your JSON object.