Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

merge json value in entity properties rest service

Florian Bauer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2019

i use entity properties to persist and modify json object, which is best practice i guess. lets consider the folowing json object:

{ 'value1':'red', 'value2':'green' }

to change value2 i need to load the entity property, edit it and to save it back. this is a pretty dangerous operation in the case when a second client modifies the same json at the same time!

my question:

# is there a kind of a merge method for entity properties to modify json object inside one transaction?

# or is there a kind of a deep-edit method for json strings?

 

thx,

florian

0 answers

Suggest an answer

Log in or Sign up to answer