ajax - Passing JSON Array from javascript to spring mvc controller -


i working on spring mvc , need pass json array spring controller jsp using ajax. can me out how pass, map , access json array in controller.

(json array [{'name':'ksjdfh','email':'sdfkhg'},{'name':'ksjdfh','email':'sdfkhg'},{'name':'ksjdfh','email':'sdfkhg'}])

there post on how here: parsing json in spring mvc using jackson json.

basically, need model object deserialize json to.

note (as gunslinger says) pass json string other parameter. in request result in url (without use of cookies) localhost/foo?bar=[your_json_as_string]

also note using ajax not @ essential problem.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -