yoursyun

To receive JSON with @RequestBody annotation, you must process Json.Stringfy. 본문

program/spring

To receive JSON with @RequestBody annotation, you must process Json.Stringfy.

yoursyun 2024. 8. 16. 13:43

To receive JSON with @RequestBody annotation, you must process Json.Stringfy.

Create Javascript Object

var jsonData = { name: "John", age: "19" };

 

To Json.Stringfy

var jsonData = { "name": "John", "age": "19" };

반응형