Home > Back-end >  The application of @ Jsonformat annotation is how to achieve
The application of @ Jsonformat annotation is how to achieve

Time:11-25

At ordinary times on the date of the entity class or string attribute and method with the annotations for formatting dates, how this is done, where is the effect

CodePudding user response:

Jackon serialization or deserialization parsing class found the notes will give you the formatting, go to the source of Jackon specific how to do

CodePudding user response:

Each note corresponds to a class, you can use the AOP, monitoring to the annotation will do after parsing, such as the format string
  • Related