Page 1 of 1

json "save"

Posted: Thu Mar 30, 2017 3:05 pm
by selsner
via json I can save objects to the store:

Code: Select all

        {
        	"save":
        	{
        		"path" : "saved_object",
        			"":"path will be related to CGRU_LOCATION and .json extension will be added",
        		"object":
        		{
        			"prop_a":"value A",
        			"prop_b":"value B"
        		}
        	}
        }
Is there a "get" for an object?

I also would like to add a variable so one can configure where the files are being stored (for me af::Environment::getCGRULocation() ) is "read-only". Would that be ok?

Re: json "save"

Posted: Thu Mar 30, 2017 6:23 pm
by timurhai
Ok! )