json-patch Questions

1

I am using JsonPatchDocument to update my entities, this works well if the JSON looks like the following [ { "op": "replace", "path": "/leadStatus", "value": "2" }, ] When i create the object i...
Vervain asked 21/4, 2016 at 11:8

1

In my project I use object of type A which has OneToMany relation (orphanRemoval = true, cascade = CascadeType.ALL, fetch = FetchType.EAGER) to objects of type B. I need SpringDataRest (SDR) to sto...
Blacken asked 17/1, 2016 at 20:30

1

Solved

The JSON Pointer spec states: the characters '~' (%x7E) and '/' (%x2F) have special meanings in JSON Pointer It is clear what '/' is used for, but I see no indication of what purpose the tilde se...
Psychographer asked 17/7, 2015 at 19:17

0

I can't get Spring Data REST to accept a JSON-PATCH content body, what am I doing wrong? Simple domain: @Document public class DomainA { @Id private String id; private String atext; public Str...
Fleeta asked 24/3, 2015 at 14:21

3

Solved

Given two Javascript objects (A and B), is there a way to generate the JSON patch, so that when that patch is applied to A it would change the object's properties to that of object B? For example, ...
Mymya asked 21/3, 2014 at 0:7

© 2022 - 2025 — McMap. All rights reserved.