I have the following script that retrieves two id's and creates a json string with those two id's and send them to a Spring MVC controller, but i dont know how to acces those values inside my controller i was thinking in using string split functions but since i'm using jackson i thing that there should be already created methods to do this.
here is my script:
that scripts send to ints inside a json those two ints are the ids of a role object and a perm object
and here is my controller method
my json variable have the ids that i need, but i dont know how to get them is there a ObjectMapper Jackson method that i could use to split the string to get the values i need.