The json format is {& quot; reposts_count & quot;: 0, & quot; mlevel & quot;: 0, ** & quot; user_id & quot;: 1620302927, ** & quot; retweeted_status & quot;: {& quot; reposts_count & quot;: 1, & quot; user_id & quot;: 2209251457, ** & quot; text & quot;: & quot; u4e24u6735u5c0fu83cau82b1u554 mysql data mining javajson
The json format is as follows:
{"Reposts_count": 0, "mlevel": 0,"Maid": 1620302927,"Retweeted_status": {"reposts_count": 1, "user_id": 2209251457,"Text": "\ u4e24 \ u6735 \ u5c0f \ u83ca \ u82b1 \ u554a, \ u5f00 \ u5728 \ u82b1 \ u4e1b \ u4e2d \ u554a "}
There are a large number of disks, which exist in the txt text. The current process is as follows: read the text-> parse Json, get uid and text (change UTF-8 encoding to Chinese) -> saved to the retweetedWeibo table of the MySql database. there are only two fields (uid and text ).
I have found a lot of java json parsing code on the Internet, but it is wrong and messy. some use jar packages, and some do not know clearly. I am crazy about it. If the gods solve my problem, add C coins!
Why do you only see json parsing? What about others? What other requirements have been written above? In addition, I have seen your Json parsing code on the Internet, and some have tried it. I actually want the full version of the code. It's hard for everyone.