Parse json analysis

Parsing json data is divided into several parts

1. Analysis of data - combined with ui, what to do

2. Writing JavaBean objects - two ways of writing

2.1 UseGsonFormat is a tool that automatically generates JavaBean objects
2.2, manually writes JavaBean objects

3. Parse json
3.1, use a third-party framework to parse json Proportion Gson parses fastjson
3.2, manual parsing

Note that when GsonFormat generates JavaBeans based on data, it cannot be generated. Parsing
What if you want to parse the data?
Manual parsing

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326516719&siteId=291194637