1

In java, is it possible to configure the Json patch to perform operation on collections using id object instead of position?

for example:

{
   "op": "replace",
   "path": "/collection/0/field",
   "value": test
},

to:

{
   "op": "replace",
   "path": "/collection/id-of-object/field",
   "value": test
},

In this way i can avoid order problems of large ammount of data inside collections.

Thanks.

Michael Cauduro
  • 185
  • 1
  • 3
  • 16

0 Answers0