Modifying serverside JSON file

Modifying serverside JSON file

Hi, New to javascript and dealing with serverside business. Generally fluent with Python, but again unfamiliar with using it for the web.

I have developed a small interactive interface using D3. The data is read from a separate JSON. What I'd like to do, is at the end of a 'session' be able to save to the JSON file information about the state of the interactive display.

For example, say each element in the JSON file has a key value pair "active": true/false

Let's see the interaction of the user changes this state, and I want to 'remember' it for next session.

Where should I start? Is this straightforward? What tools might I look into?

thank you thank you

Submitted February 15, 2017 at 11:15PM by normonics
via reddit