待读取的json文本:
{"data":{"count":4031,"list":[{"symbol":"SH603212","net_profit_cagr":-7.181205917458,"ps":2.8608,"type":11,"percent":43.98,"has_follow":false,"tick_size":0.01,"pb_ttm":3.495,"float_shares":40010000,"current":15.06,"amplitude":0,"pcf":28.0483,"current_year_percent":43.98,"float_market_capital":602550600,"market_capital":6024150600,"dividend_yield":null,"lot_size":100,"roe_ttm":null,"total_percent":0,"percent5m":0,"income_cagr":3.597934317156515,"amount":4103609,"chg":4.6,"issue_date_ts":1588176000000,"main_net_inflows":0,"volume":272484,"volume_ratio":1,"pb":3.594,"followers":798,"turnover_rate":0.68,"first_percent":43.98,"name":"N赛伍","pe_ttm":31.545,"total_shares":400010000},{"symbol":"SH688123","net_profit_cagr":69.08295337301816,"ps":14.97306577499033,"type":82,"percent":20,"has_follow":false,"tick_size":0.01,"pb_ttm":5.7,"float_shares":27568824,"current":63.61,"amplitude":15.86,"pcf":82.83773797232978,"current_year_percent":-11.26,"float_market_capital":1753652895,"market_capital":7686751160,"dividend_yield":null,"lot_size":1,"roe_ttm":null,"total_percent":-28.45,"percent5m":0,"income_cagr":10.156551064102803,"amount":232244930,"chg":10.6,"issue_date_ts":1577030400000,"main_net_inflows":1097880.200000003,"volume":3803224,"volume_ratio":1.65,"pb":5.7,"followers":2600,"turnover_rate":13.8,"first_percent":139.19,"name":"聚辰股份","pe_ttm":77.339,"total_shares":120841867},{"symbol":"SH688126","net_profit_cagr":24.212829857649165,"ps":23.928973181323556,"type":82,"percent":20,"has_follow":false,"tick_size":0.01,"pb_ttm":5.333,"float_shares":449819899,"current":15.84,"amplitude":19.92,"pcf":66.07607081047416,"current_year_percent":307.2,"float_market_capital":7125147200,"market_capital":39287318400,"dividend_yield":null,"lot_size":1,"roe_ttm":-3.567439482623954,"total_percent":66.74,"percent5m":0,"income_cagr":49.525008060165646,"amount":1742665747,"chg":2.64,"issue_date_ts":1587312000000,"main_net_inflows":46912838.400000006,"volume":119720905,"volume_ratio":0.95,"pb":5.333,"followers":6423,"turnover_rate":26.62,"first_percent":180.46,"name":"沪硅产业","pe_ttm":null,"total_shares":2480260000},{"symbol":"SH688088","net_profit_cagr":58.05634685926038,"ps":44.3099586356679,"type":82,"percent":16.98,"has_follow":false,"tick_size":0.01,"pb_ttm":10.456,"float_shares":40265522,"current":65.87,"amplitude":17.65,"pcf":109.25430580695998,"current_year_percent":39.41,"float_market_capital":2652289934,"market_capital":26743220000,"dividend_yield":null,"lot_size":1,"roe_ttm":12.692838739551535,"total_percent":-23.85,"percent5m":0.11,"income_cagr":28.817887977796964,"amount":303462757,"chg":9.56,"issue_date_ts":1563724800000,"main_net_inflows":16355569,"volume":4822349,"volume_ratio":1.89,"pb":10.456,"followers":8754,"turnover_rate":11.98,"first_percent":126.97,"name":"虹软科技","pe_ttm":116.66,"total_shares":406000000},{"symbol":"SH688268","net_profit_cagr":10.552468664590231,"ps":8.664296440740566,"type":82,"percent":16.36,"has_follow":false,"tick_size":0.01,"pb_ttm":6.198,"float_shares":27227108,"current":62.6,"amplitude":17.29,"pcf":119.43247407308635,"current_year_percent":42.76,"float_market_capital":1704416961,"market_capital":7512000000,"dividend_yield":null,"lot_size":1,"roe_ttm":null,"total_percent":25.17,"percent5m":-0.03,"income_cagr":6.888759640696462,"amount":240056491,"chg":8.8,"issue_date_ts":1577289600000,"main_net_inflows":13584379.43,"volume":4062341,"volume_ratio":1.57,"pb":6.198,"followers":3148,"turnover_rate":14.92,"first_percent":134.66,"name":"华特气体","pe_ttm":106.076,"total_shares":120000000},{"symbol":"SH688116","net_profit_cagr":null,"ps":26.439637829846824,"type":82,"percent":13.66,"has_follow":false,"tick_size":0.01,"pb_ttm":5.815,"float_shares":55464529,"current":40.01,"amplitude":14.74,"pcf":127.52204604011786,"current_year_percent":23.68,"float_market_capital":2219135805,"market_capital":9276643221,"dividend_yield":null,"lot_size":1,"roe_ttm":8.640674205355483,"total_percent":-13.12,"percent5m":0.15,"income_cagr":-7.580836748567343,"amount":182322692,"chg":4.81,"issue_date_ts":1569340800000,"main_net_inflows":21826686,"volume":4680455,"volume_ratio":1.43,"pb":5.815,"followers":2787,"turnover_rate":8.44,"first_percent":221.19,"name":"天奈科技","pe_ttm":95.124,"total_shares":231858116},{"symbol":"SH688258","net_profit_cagr":21.761462035340816,"ps":35.121811440515806,"type":82,"percent":13.26,"has_follow":false,"tick_size":0.01,"pb_ttm":8.884,"float_shares":19782525,"current":88.4,"amplitude":13.44,"pcf":113.26234629193327,"current_year_percent":2.6,"float_market_capital":1748775210,"market_capital":7686962644,"dividend_yield":null,"lot_size":1,"roe_ttm":null,"total_percent":115.61,"percent5m":-0.11,"income_cagr":20.950885319324364,"amount":184274391,"chg":10.35,"issue_date_ts":1575820800000,"main_net_inflows":-1972521,"volume":2163839,"volume_ratio":1.32,"pb":8.884,"followers":3063,"turnover_rate":10.94,"first_percent":108.38,"name":"卓易信息","pe_ttm":174.901,"total_shares":86956591},{"symbol":"SH688365","net_profit_cagr":-0.3859465093260739,"ps":37.3628,"type":82,"percent":13.07,"has_follow":false,"tick_size":0.01,"pb_ttm":15.5269,"float_shares":32291804,"current":43,"amplitude":25.85,"pcf":165.8105,"current_year_percent":298.15,"float_market_capital":1388547572,"market_capital":17243000000,"dividend_yield":null,"lot_size":1,"roe_ttm":null,"total_percent":48.33,"percent5m":1.82,"income_cagr":8.010404822845473,"amount":835474662,"chg":4.97,"issue_date_ts":1588089600000,"main_net_inflows":55003668.8,"volume":21034939,"volume_ratio":0.9,"pb":15.523,"followers":1171,"turnover_rate":65.14,"first_percent":252.13,"name":"光云科技","pe_ttm":178.374,"total_shares":401000000},{"symbol":"SH688086","net_profit_cagr":156.9090930376477,"ps":20.39287997581186,"type":82,"percent":12.06,"has_follow":false,"tick_size":0.01,"pb_ttm":6.546,"float_shares":43652048,"current":61.79,"amplitude":13.26,"pcf":null,"current_year_percent":187.53,"float_market_capital":2697260046,"market_capital":11763673070,"dividend_yield":null,"lot_size":1,"roe_ttm":null,"total_percent":-27.31,"percent5m":0.21,"income_cagr":59.37788259006804,"amount":475102392,"chg":6.65,"issue_date_ts":1582646400000,"main_net_inflows":16631719,"volume":7991934,"volume_ratio":1.73,"pb":6.546,"followers":3232,"turnover_rate":18.31,"first_percent":264.08,"name":"紫晶存储","pe_ttm":77.808,"total_shares":190381503},{"symbol":"SH688012","net_profit_cagr":128.5713598284136,"ps":45.324147592136974,"type":82,"percent":11.3,"has_follow":false,"tick_size":0.01,"pb_ttm":23.805,"float_shares":51417972,"current":168.06,"amplitude":13.3,"pcf":147.18762621171516,"current_year_percent":81.88,"float_market_capital":8641304374,"market_capital":89888947550,"dividend_yield":null,"lot_size":1,"roe_ttm":6.801976082444572,"total_percent":53.06,"percent5m":-0.01,"income_cagr":29.98870751575131,"amount":808374028,"chg":17.06,"issue_date_ts":1563724800000,"main_net_inflows":-1651183,"volume":4936531,"volume_ratio":1.5,"pb":23.805,"followers":22117,"turnover_rate":9.6,"first_percent":179.32,"name":"中微公司","pe_ttm":447.324,"total_shares":534862237},{"symbol":"SH688169","net_profit_cagr":120.74739788593946,"ps":5.961296337784338,"type":82,"percent":10.79,"has_follow":false,"tick_size":0.01,"pb_ttm":4.192,"float_shares":15533860,"current":376,"amplitude":11.2,"pcf":48.312202874292225,"current_year_percent":38.68,"float_market_capital":5840731360,"market_capital":25066666792,"dividend_yield":null,"lot_size":1,"roe_ttm":null,"total_percent":-20,"percent5m":-0.27,"income_cagr":38.39181694575133,"amount":392672335,"chg":36.62,"issue_date_ts":1582214400000,"main_net_inflows":12862095,"volume":1074188,"volume_ratio":1.23,"pb":4.192,"followers":7455,"turnover_rate":6.92,"first_percent":84.46,"name":"石头科技","pe_ttm":32.469,"total_shares":66666667},{"symbol":"SH688300","net_profit_cagr":30.33529309131533,"ps":14.843651282259813,"type":82,"percent":10.2,"has_follow":false,"tick_size":0.01,"pb_ttm":5.214,"float_shares":20032204,"current":55.42,"amplitude":11.77,"pcf":47.422920876832045,"current_year_percent":21.94,"float_market_capital":1110184746,"market_capital":4764645828,"dividend_yield":null,"lot_size":1,"roe_ttm":12.706351887619642,"total_percent":28.88,"percent5m":-0.16,"income_cagr":17.60168689268131,"amount":73106638,"chg":5.13,"issue_date_ts":1573747200000,"main_net_inflows":-3389393,"volume":1356723,"volume_ratio":1.53,"pb":5.214,"followers":1248,"turnover_rate":6.77,"first_percent":61.29,"name":"联瑞新材","pe_ttm":60.86,"total_shares":85973400},{"symbol":"SZ002285","net_profit_cagr":-18.545180401874962,"ps":null,"type":11,"percent":10.12,"has_follow":false,"tick_size":0.01,"pb_ttm":1.119,"float_shares":2009761878,"current":2.83,"amplitude":10.12,"pcf":4.8888076541496845,"current_year_percent":-24.53,"float_market_capital":5687626115,"market_capital":5766851382,"dividend_yield":0.159,"lot_size":100,"roe_ttm":-1.084816910228715,"total_percent":49.99,"percent5m":0,"income_cagr":-13.144970272652202,"amount":69616963.91,"chg":0.26,"issue_date_ts":1251388800000,"main_net_inflows":16486894,"volume":25424890,"volume_ratio":1.93,"pb":1.119,"followers":99048,"turnover_rate":1.27,"first_percent":36.33,"name":"世联行","pe_ttm":null,"total_shares":2037756672},{"symbol":"SZ002536","net_profit_cagr":-37.32157846990069,"ps":0.9565082720268631,"type":11,"percent":10.09,"has_follow":false,"tick_size":0.01,"pb_ttm":1.161,"float_shares":471171227,"current":4.91,"amplitude":9.42,"pcf":8.04162353804121,"current_year_percent":-1.6,"float_market_capital":2313450725,"market_capital":2458495007,"dividend_yield":2.037,"lot_size":100,"roe_ttm":2.9256278132717166,"total_percent":-31.97,"percent5m":0,"income_cagr":-3.5741749540556533,"amount":101592851.09,"chg":0.45,"issue_date_ts":1294675200000,"main_net_inflows":-20498831,"volume":20904663,"volume_ratio":2.02,"pb":1.161,"followers":15030,"turnover_rate":4.44,"first_percent":7.17,"name":"飞龙股份","pe_ttm":38.738,"total_shares":500711814},{"symbol":"SZ000616","net_profit_cagr":20.704419576037147,"ps":18.45320554103227,"type":11,"percent":10.09,"has_follow":false,"tick_size":0.01,"pb_ttm":0.789,"float_shares":1430234425,"current":2.4,"amplitude":10.55,"pcf":25.31562317568286,"current_year_percent":-1.23,"float_market_capital":3432562620,"market_capital":3432562620,"dividend_yield":0,"lot_size":100,"roe_ttm":0.7665010714843669,"total_percent":403.88,"percent5m":0,"income_cagr":-9.583113362677375,"amount":73974480.84,"chg":0.22,"issue_date_ts":847382400000,"main_net_inflows":16970140,"volume":31590127,"volume_ratio":2.42,"pb":0.789,"followers":31722,"turnover_rate":2.21,"first_percent":140,"name":"海航投资","pe_ttm":103.182,"total_shares":1430234425},{"symbol":"SZ300173","net_profit_cagr":277.03492565360796,"ps":14.406879184264438,"type":11,"percent":10.08,"has_follow":false,"tick_size":0.01,"pb_ttm":4.596,"float_shares":453140687,"current":5.24,"amplitude":10.08,"pcf":53.64650893809234,"current_year_percent":-29,"float_market_capital":2374457200,"market_capital":3071585836,"dividend_yield":0,"lot_size":100,"roe_ttm":-23.15127241534805,"total_percent":21.99,"percent5m":0,"income_cagr":-76.56629843253809,"amount":75836963.99,"chg":0.48,"issue_date_ts":1296489600000,"main_net_inflows":9929024,"volume":14926899,"volume_ratio":1.15,"pb":4.596,"followers":32892,"turnover_rate":3.39,"first_percent":7.06,"name":"智慧松德","pe_ttm":null,"total_shares":586180503},{"symbol":"SZ002662","net_profit_cagr":-52.617812971402024,"ps":1.8634336790085266,"type":11,"percent":10.08,"has_follow":false,"tick_size":0.01,"pb_ttm":2.034,"float_shares":1458971100,"current":4.15,"amplitude":6.37,"pcf":7.5914257938423715,"current_year_percent":57.2,"float_market_capital":6054730065,"market_capital":6225000000,"dividend_yield":0,"lot_size":100,"roe_ttm":-48.9520432305028,"total_percent":-8.39,"percent5m":0,"income_cagr":-23.412627450448287,"amount":357946722.19,"chg":0.38,"issue_date_ts":1331222400000,"main_net_inflows":57727071,"volume":88087729,"volume_ratio":0.93,"pb":2.034,"followers":16697,"turnover_rate":6.04,"first_percent":6.9,"name":"京威股份","pe_ttm":null,"total_shares":1500000000},{"symbol":"SH600355","net_profit_cagr":null,"ps":null,"type":11,"percent":10.07,"has_follow":false,"tick_size":0.01,"pb_ttm":5.276,"float_shares":492089200,"current":3.06,"amplitude":0,"pcf":null,"current_year_percent":-10.26,"float_market_capital":1505792952,"market_capital":1505792952,"dividend_yield":0,"lot_size":100,"roe_ttm":null,"total_percent":-40.25,"percent5m":0,"income_cagr":null,"amount":23152884,"chg":0.28,"issue_date_ts":1023897600000,"main_net_inflows":-13809780,"volume":7566302,"volume_ratio":0.75,"pb":5.276,"followers":32860,"turnover_rate":1.54,"first_percent":64.52,"name":"精伦电子","pe_ttm":null,"total_shares":492089200},{"symbol":"SH600546","net_profit_cagr":37.96804317444873,"ps":0.5275198594394606,"type":11,"percent":10.06,"has_follow":false,"tick_size":0.01,"pb_ttm":2.906,"float_shares":1982456140,"current":9.85,"amplitude":9.94,"pcf":7.727175528378805,"current_year_percent":41.12,"float_market_capital":19527192979,"market_capital":19527192979,"dividend_yield":0.609,"lot_size":100,"roe_ttm":16.020613220179744,"total_percent":526.39,"percent5m":0,"income_cagr":-5.330804381479293,"amount":412283938,"chg":0.9,"issue_date_ts":1059580800000,"main_net_inflows":40674717,"volume":42985161,"volume_ratio":1.52,"pb":2.906,"followers":23232,"turnover_rate":2.17,"first_percent":21.31,"name":"山煤国际","pe_ttm":16.875,"total_shares":1982456140},{"symbol":"SH603603","net_profit_cagr":null,"ps":null,"type":11,"percent":10.05,"has_follow":false,"tick_size":0.01,"pb_ttm":3.071,"float_shares":234830015,"current":6.02,"amplitude":10.42,"pcf":6.131957637980395,"current_year_percent":-34.42,"float_market_capital":1413676690,"market_capital":2515060017,"dividend_yield":1.597,"lot_size":100,"roe_ttm":null,"total_percent":-24.56,"percent5m":0,"income_cagr":null,"amount":42739767,"chg":0.55,"issue_date_ts":1487260800000,"main_net_inflows":3968206,"volume":7371230,"volume_ratio":1.48,"pb":3.071,"followers":8977,"turnover_rate":3.14,"first_percent":44.07,"name":"博天环境","pe_ttm":null,"total_shares":417784056},{"symbol":"SZ000609","net_profit_cagr":-48.17872522084762,"ps":3.5733064086389987,"type":11,"percent":10.05,"has_follow":false,"tick_size":0.01,"pb_ttm":1.288,"float_shares":292002672,"current":6.57,"amplitude":14.57,"pcf":null,"current_year_percent":19.45,"float_market_capital":1918457555,"market_capital":1966174480,"dividend_yield":0,"lot_size":100,"roe_ttm":2.590505911915236,"total_percent":150.51,"percent5m":0,"income_cagr":33.75855580122826,"amount":375085811.81,"chg":0.6,"issue_date_ts":844876800000,"main_net_inflows":14003330,"volume":61058500,"volume_ratio":1.86,"pb":1.288,"followers":21627,"turnover_rate":20.91,"first_percent":135.33,"name":"中迪投资","pe_ttm":50.337,"total_shares":299265522},{"symbol":"SH600051","net_profit_cagr":108.05630353637005,"ps":0.5672064095166319,"type":11,"percent":10.05,"has_follow":false,"tick_size":0.01,"pb_ttm":0.865,"float_shares":310880000,"current":8.21,"amplitude":8.04,"pcf":1.3940774560040605,"current_year_percent":36.83,"float_market_capital":2552324800,"market_capital":2552324800,"dividend_yield":2.436,"lot_size":100,"roe_ttm":21.73112850047658,"total_percent":16.25,"percent5m":0,"income_cagr":-0.060688380968410005,"amount":450898376,"chg":0.75,"issue_date_ts":860601600000,"main_net_inflows":44566196,"volume":56546508,"volume_ratio":2.84,"pb":0.865,"followers":7542,"turnover_rate":18.19,"first_percent":0,"name":"宁波联合","pe_ttm":4.381,"total_shares":310880000},{"symbol":"SH600094","net_profit_cagr":-26.65556712514733,"ps":1.4591437851874642,"type":11,"percent":10.04,"has_follow":false,"tick_size":0.01,"pb_ttm":1.554,"float_shares":2276604962,"current":8.11,"amplitude":9.09,"pcf":1.7969398640501228,"current_year_percent":38.63,"float_market_capital":18463266242,"market_capital":20074886212,"dividend_yield":0.37,"lot_size":100,"roe_ttm":5.572274139411639,"total_percent":68.81,"percent5m":1.5,"income_cagr":22.06956159208604,"amount":1028979548,"chg":0.74,"issue_date_ts":867859200000,"main_net_inflows":4534011,"volume":129771988,"volume_ratio":1.47,"pb":1.554,"followers":15123,"turnover_rate":5.7,"first_percent":0,"name":"大名城","pe_ttm":28.526,"total_shares":2475325057},{"symbol":"SH600410","net_profit_cagr":-1.1353072334094438,"ps":3.740314692534638,"type":11,"percent":10.03,"has_follow":false,"tick_size":0.01,"pb_ttm":3.171,"float_shares":1098743383,"current":14.81,"amplitude":10.18,"pcf":66.46463480938732,"current_year_percent":43.65,"float_market_capital":16272389502,"market_capital":16272389502,"dividend_yield":0.203,"lot_size":100,"roe_ttm":4.609784843617763,"total_percent":672.56,"percent5m":0,"income_cagr":-12.143811082196542,"amount":1972719521,"chg":1.35,"issue_date_ts":1082995200000,"main_net_inflows":-532877,"volume":137966756,"volume_ratio":1.12,"pb":3.171,"followers":68265,"turnover_rate":12.56,"first_percent":33.14,"name":"华胜天成","pe_ttm":70.663,"total_shares":1098743383},{"symbol":"SH600291","net_profit_cagr":null,"ps":0.540510588233147,"type":11,"percent":10.03,"has_follow":false,"tick_size":0.01,"pb_ttm":0.782,"float_shares":1093064378,"current":7.57,"amplitude":5.38,"pcf":null,"current_year_percent":-15.8,"float_market_capital":8274497341,"market_capital":8274497341,"dividend_yield":0,"lot_size":100,"roe_ttm":-13.75933615441077,"total_percent":102.01,"percent5m":0,"income_cagr":-18.445855326203354,"amount":268780475,"chg":0.69,"issue_date_ts":964972800000,"main_net_inflows":-17625614,"volume":35893659,"volume_ratio":2.76,"pb":0.782,"followers":104933,"turnover_rate":3.28,"first_percent":99.84,"name":"西水股份","pe_ttm":null,"total_shares":1093064378},{"symbol":"SH600604","net_profit_cagr":132.74887990474377,"ps":8.679334666577033,"type":11,"percent":10.03,"has_follow":false,"tick_size":0.01,"pb_ttm":2.297,"float_shares":1407454804,"current":7.9,"amplitude":5.15,"pcf":139.67950864626306,"current_year_percent":-10.84,"float_market_capital":11118892952,"market_capital":14799107952,"dividend_yield":0.152,"lot_size":100,"roe_ttm":5.797666562120449,"total_percent":null,"percent5m":0,"income_cagr":55.46237369096843,"amount":552476438,"chg":0.72,"issue_date_ts":701625600000,"main_net_inflows":68838636,"volume":70875880,"volume_ratio":1.45,"pb":2.297,"followers":49836,"turnover_rate":5.04,"first_percent":null,"name":"市北高新","pe_ttm":40.632,"total_shares":1873304804},{"symbol":"SZ300276","net_profit_cagr":-22.671381772159226,"ps":4.03269478829716,"type":11,"percent":10.03,"has_follow":false,"tick_size":0.01,"pb_ttm":1.793,"float_shares":363022341,"current":8.23,"amplitude":0,"pcf":34.13292120313022,"current_year_percent":3.52,"float_market_capital":2987673866,"market_capital":6544242162,"dividend_yield":2.187,"lot_size":100,"roe_ttm":5.988997744402351,"total_percent":101.38,"percent5m":0,"income_cagr":10.467399953612034,"amount":19647758.82,"chg":0.75,"issue_date_ts":1321286400000,"main_net_inflows":-10071874.2,"volume":2387334,"volume_ratio":0.81,"pb":1.793,"followers":25004,"turnover_rate":0.66,"first_percent":39.92,"name":"三丰智能","pe_ttm":30.244,"total_shares":795169157},{"symbol":"SH600114","net_profit_cagr":5.9847625069222365,"ps":2.5642867719185434,"type":11,"percent":10.02,"has_follow":false,"tick_size":0.01,"pb_ttm":2.15,"float_shares":610161557,"current":9.33,"amplitude":9.2,"pcf":42.61320998191667,"current_year_percent":8.74,"float_market_capital":5692807327,"market_capital":5751520644,"dividend_yield":2.144,"lot_size":100,"roe_ttm":11.565142072976183,"total_percent":297.77,"percent5m":0,"income_cagr":12.94316277845715,"amount":292360366,"chg":0.85,"issue_date_ts":1084204800000,"main_net_inflows":-15971827,"volume":31835737,"volume_ratio":1.97,"pb":2.15,"followers":35216,"turnover_rate":5.22,"first_percent":45.4,"name":"东睦股份","pe_ttm":18.471,"total_shares":616454517},{"symbol":"SH600685","net_profit_cagr":451.4129644119851,"ps":null,"type":11,"percent":10.02,"has_follow":false,"tick_size":0.01,"pb_ttm":1.646,"float_shares":821435181,"current":14.93,"amplitude":5.38,"pcf":3.7673715548391344,"current_year_percent":1.22,"float_market_capital":12264027252,"market_capital":21103650224,"dividend_yield":0,"lot_size":100,"roe_ttm":35.625441848121866,"total_percent":363.43,"percent5m":0,"income_cagr":-4.914004961978535,"amount":402289053,"chg":1.36,"issue_date_ts":751737600000,"main_net_inflows":28573499,"volume":27181584,"volume_ratio":1.49,"pb":1.646,"followers":96401,"turnover_rate":3.31,"first_percent":27.92,"name":"中船防务","pe_ttm":5.303,"total_shares":1413506378},{"symbol":"SZ002983","net_profit_cagr":20.137608624712055,"ps":6.129167199240726,"type":11,"percent":10.02,"has_follow":false,"tick_size":0.01,"pb_ttm":3.355,"float_shares":35420000,"current":22.61,"amplitude":0,"pcf":61.341839007991325,"current_year_percent":74.33,"float_market_capital":800846200,"market_capital":3203384800,"dividend_yield":null,"lot_size":100,"roe_ttm":null,"total_percent":45.31,"percent5m":0,"income_cagr":0.6740839890454708,"amount":1796771.48,"chg":2.06,"issue_date_ts":1588003200000,"main_net_inflows":-149226,"volume":79468,"volume_ratio":0.96,"pb":3.355,"followers":1325,"turnover_rate":0.22,"first_percent":44.02,"name":"芯瑞达","pe_ttm":33.911,"total_shares":141680000}]},"error_code":0,"error_description":""}
需求:使用jsckson读取其中的count节点数值以及遍历list下的所有节点,,获取symbol的后六位.
分析:count是常规节点,直接用get往里取即可,list是个数组节点,需要用遍历器.
实现:
ObjectMapper mapper = new ObjectMapper(); JsonNode node = mapper.readTree(json); // 将文本转成json树 int count=Integer.parseInt(node.get("data").get("count").asText());// 取data节点下的count节点 JsonNode listNode=node.get("data").path("list");// 取list节点 // 遍历list节点的子节点 Iterator<JsonNode> iterator = listNode.elements(); while (iterator.hasNext()) { JsonNode stock = iterator.next(); String code=stock.get("symbol").asText().substring(2);// 取节点文本 ... } ...
--2020年5月5日--