Simple Http Server using native Java
Create a simple HTTP-based Web Server application using the HttpServer Class provided by JDK
Use Jackson to complete the conversion of objects and JSON
If you can’t remember which package it is, look it up in the maven repository
, copy this
and then pull the json package
Serialization: object -> json
Deserialization: json->object
If there is no Person() parameterless construction, an error will be reported.