json "save"

General discussions and questions.
Post Reply
selsner
Posts: 47
Joined: Wed Jan 25, 2017 11:20 am

json "save"

Post 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?
CGRU 2.3.1 - CentOS 7.7

Sebastian Elsner - Pipeline Technical Director - RISE
www.risefx.com
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: json "save"

Post by timurhai »

Ok! )
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply