json "save"

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

json "save"

Post by selsner » Thu Mar 30, 2017 3:05 pm

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.2.1 - CentOS 6.6, gcc 4.4.7, Qt 4.6

Sebastian Elsner - Pipeline Technical Director - RISE
www.risefx.com

User avatar
timurhai
Site Admin
Posts: 393
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: json "save"

Post by timurhai » Thu Mar 30, 2017 6:23 pm

Ok! )
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest