Skip to content

Instantly share code, notes, and snippets.

@lpar
Last active Apr 26, 2018
Embed
What would you like to do?
Quick test of YAML parsing in Go
[{"designation":"419880 (2011 AH37)","discovery_date":"2011-01-07T00:00:00.000","h_mag":"19.7","i_deg":"9.65","moid_au":"0.035","orbit_class":"Apollo","period_yr":"4.06","pha":"Y","q_au_1":"0.84","q_au_2":"4.26"}
,{"designation":"419624 (2010 SO16)","discovery_date":"2010-09-17T00:00:00.000","h_mag":"20.5","i_deg":"14.52","moid_au":"0.028","orbit_class":"Apollo","period_yr":"1","pha":"Y","q_au_1":"0.93","q_au_2":"1.08"}
,{"designation":"414772 (2010 OC103)","discovery_date":"2010-07-28T00:00:00.000","h_mag":"19","i_deg":"23.11","moid_au":"0.333","orbit_class":"Apollo","period_yr":"1.31","pha":"N","q_au_1":"0.39","q_au_2":"2"}
,{"designation":"414746 (2010 EH20)","discovery_date":"2010-03-06T00:00:00.000","h_mag":"18","i_deg":"23.89","moid_au":"0.268","orbit_class":"Amor","period_yr":"4.24","pha":"N","q_au_1":"1.25","q_au_2":"3.99"}
,{"designation":"407324 (2010 OB101)","discovery_date":"2010-07-18T00:00:00.000","h_mag":"20.7","i_deg":"9.12","moid_au":"0.111","orbit_class":"Apollo","period_yr":"2.06","pha":"N","q_au_1":"0.77","q_au_2":"2.46"}
,{"designation":"398188 (2010 LE15)","discovery_date":"2010-06-03T00:00:00.000","h_mag":"19.5","i_deg":"13.25","moid_au":"0.024","orbit_class":"Aten","period_yr":"0.8","pha":"Y","q_au_1":"0.63","q_au_2":"1.1"}
,{"designation":"395207 (2010 HQ80)","discovery_date":"2010-04-25T00:00:00.000","h_mag":"19.6","i_deg":"27.85","moid_au":"0.007","orbit_class":"Apollo","period_yr":"1.96","pha":"Y","q_au_1":"0.8","q_au_2":"2.34"}
,{"designation":"386847 (2010 LR33)","discovery_date":"2010-06-06T00:00:00.000","h_mag":"18","i_deg":"5.84","moid_au":"0.029","orbit_class":"Apollo","period_yr":"2.2","pha":"Y","q_au_1":"0.91","q_au_2":"2.48"}
,{"designation":"381989 (2010 HR80)","discovery_date":"2010-04-28T00:00:00.000","h_mag":"19.9","i_deg":"26.71","moid_au":"0.104","orbit_class":"Apollo","period_yr":"1.56","pha":"N","q_au_1":"0.68","q_au_2":"2.02"}
,{"designation":"369454 (2010 NZ1)","discovery_date":"2010-07-09T00:00:00.000","h_mag":"19.4","i_deg":"32.78","moid_au":"0.275","orbit_class":"Apollo","period_yr":"1.61","pha":"N","q_au_1":"0.49","q_au_2":"2.26"}
,{"designation":"365449 (2010 NJ1)","discovery_date":"2010-07-03T00:00:00.000","h_mag":"20.3","i_deg":"11.23","moid_au":"0.155","orbit_class":"Aten","period_yr":"0.95","pha":"N","q_au_1":"0.44","q_au_2":"1.49"}
,{"designation":"365424 (2010 KX7)","discovery_date":"2010-05-16T00:00:00.000","h_mag":"21.9","i_deg":"21.49","moid_au":"0.034","orbit_class":"Aten","period_yr":"0.98","pha":"Y","q_au_1":"0.82","q_au_2":"1.16"}
,{"designation":"356394 (2010 QD2)","discovery_date":"2010-08-21T00:00:00.000","h_mag":"17.4","i_deg":"10.64","moid_au":"0.061","orbit_class":"Apollo","period_yr":"2.85","pha":"N","q_au_1":"0.43","q_au_2":"3.59"}
,{"designation":"(2015 HF11)","discovery_date":"2015-04-17T00:00:00.000","h_mag":"19.2","i_deg":"34.89","moid_au":"0.225","orbit_class":"Amor","period_yr":"2.99","pha":"N","q_au_1":"1.22","q_au_2":"2.93"}
,{"designation":"(2015 GK50)","discovery_date":"2015-04-05T00:00:00.000","h_mag":"20.5","i_deg":"19.07","moid_au":"0.237","orbit_class":"Amor","period_yr":"5.39","pha":"N","q_au_1":"1.03","q_au_2":"5.12"}
,{"designation":"(2015 GJ46)","discovery_date":"2015-04-11T00:00:00.000","h_mag":"19.3","i_deg":"18.22","moid_au":"0.238","orbit_class":"Apollo","period_yr":"4.85","pha":"N","q_au_1":"0.67","q_au_2":"5.06"}
,{"designation":"(2015 FT344)","discovery_date":"2015-03-23T00:00:00.000","h_mag":"20.5","i_deg":"12.55","moid_au":"0.203","orbit_class":"Amor","period_yr":"4.07","pha":"N","q_au_1":"1.09","q_au_2":"4.01"}
,{"designation":"(2015 FD341)","discovery_date":"2015-03-27T00:00:00.000","h_mag":"18","i_deg":"20.55","moid_au":"0.124","orbit_class":"Aten","period_yr":"0.93","pha":"N","q_au_1":"0.31","q_au_2":"1.6"}
,{"designation":"(2015 FU332)","discovery_date":"2015-03-31T00:00:00.000","h_mag":"17.3","i_deg":"36.11","moid_au":"0.269","orbit_class":"Apollo","period_yr":"4.27","pha":"N","q_au_1":"0.67","q_au_2":"4.59"}
,{"designation":"(2015 FE120)","discovery_date":"2015-03-23T00:00:00.000","h_mag":"21.1","i_deg":"22.8","moid_au":"0.013","orbit_class":"Apollo","period_yr":"3.38","pha":"Y","q_au_1":"1.01","q_au_2":"3.49"}
,{"designation":"(2015 FY117)","discovery_date":"2015-03-20T00:00:00.000","h_mag":"21.2","i_deg":"24.33","moid_au":"0.15","orbit_class":"Amor","period_yr":"2.87","pha":"N","q_au_1":"1.14","q_au_2":"2.9"}
,{"designation":"(2015 DX198)","discovery_date":"2015-02-17T00:00:00.000","h_mag":"22.1","i_deg":"11.05","moid_au":"0.074","orbit_class":"Amor","period_yr":"2.1","pha":"N","q_au_1":"1.02","q_au_2":"2.25"}
,{"designation":"(2015 BY516)","discovery_date":"2015-01-30T00:00:00.000","h_mag":"22.3","i_deg":"12.71","moid_au":"0.139","orbit_class":"Apollo","period_yr":"3.66","pha":"N","q_au_1":"0.97","q_au_2":"3.77"}
,{"designation":"(2015 AK280)","discovery_date":"2015-01-15T00:00:00.000","h_mag":"21.8","i_deg":"11.37","moid_au":"0.049","orbit_class":"Apollo","period_yr":"4.33","pha":"Y","q_au_1":"0.79","q_au_2":"4.53"}
,{"designation":"(2015 AY245)","discovery_date":"2015-01-14T00:00:00.000","h_mag":"21.2","i_deg":"13.59","moid_au":"0.019","orbit_class":"Apollo","period_yr":"1.2","pha":"Y","q_au_1":"1","q_au_2":"1.25"}
,{"designation":"(2015 AC17)","discovery_date":"2015-01-03T00:00:00.000","h_mag":"19.9","i_deg":"29.25","moid_au":"0.238","orbit_class":"Amor","period_yr":"3.39","pha":"N","q_au_1":"1.22","q_au_2":"3.29"}
,{"designation":"(2014 YR43)","discovery_date":"2014-12-26T00:00:00.000","h_mag":"19.5","i_deg":"26.46","moid_au":"0.303","orbit_class":"Apollo","period_yr":"3.92","pha":"N","q_au_1":"0.97","q_au_2":"4"}
,{"designation":"(2014 YS14)","discovery_date":"2014-12-24T00:00:00.000","h_mag":"21.1","i_deg":"18.29","moid_au":"0.127","orbit_class":"Apollo","period_yr":"3.87","pha":"N","q_au_1":"0.84","q_au_2":"4.09"}
,{"designation":"(2014 XX31)","discovery_date":"2014-12-11T00:00:00.000","h_mag":"17.5","i_deg":"35.78","moid_au":"0.475","orbit_class":"Apollo","period_yr":"4.73","pha":"N","q_au_1":"0.36","q_au_2":"5.28"}
,{"designation":"(2014 XX7)","discovery_date":"2014-12-10T00:00:00.000","h_mag":"19.7","i_deg":"36.71","moid_au":"0.183","orbit_class":"Amor","period_yr":"4.94","pha":"N","q_au_1":"1.17","q_au_2":"4.64"}
,{"designation":"(2014 XQ7)","discovery_date":"2014-12-06T00:00:00.000","h_mag":"20.6","i_deg":"31.05","moid_au":"0.312","orbit_class":"Apollo","period_yr":"4.32","pha":"N","q_au_1":"0.66","q_au_2":"4.65"}
,{"designation":"(2014 VP35)","discovery_date":"2014-11-14T00:00:00.000","h_mag":"23.3","i_deg":"9.17","moid_au":"0.026","orbit_class":"Apollo","period_yr":"1.78","pha":"N","q_au_1":"0.95","q_au_2":"1.98"}
,{"designation":"(2014 UH210)","discovery_date":"2014-10-20T00:00:00.000","h_mag":"21.1","i_deg":"22.06","moid_au":"0.099","orbit_class":"Apollo","period_yr":"4.11","pha":"N","q_au_1":"0.89","q_au_2":"4.25"}
,{"designation":"(2014 UF206)","discovery_date":"2014-10-31T00:00:00.000","h_mag":"18.8","i_deg":"48.05","moid_au":"0.136","orbit_class":"Amor","period_yr":"3.78","pha":"N","q_au_1":"1.11","q_au_2":"3.74"}
,{"designation":"(2014 UG176)","discovery_date":"2014-10-25T00:00:00.000","h_mag":"21.5","i_deg":"16.3","moid_au":"0.16","orbit_class":"Apollo","period_yr":"4.44","pha":"N","q_au_1":"0.78","q_au_2":"4.62"}
,{"designation":"(2014 TJ64)","discovery_date":"2014-10-07T00:00:00.000","h_mag":"21.2","i_deg":"14.91","moid_au":"0.154","orbit_class":"Amor","period_yr":"4.24","pha":"N","q_au_1":"1.05","q_au_2":"4.19"}
,{"designation":"(2014 TF64)","discovery_date":"2014-10-05T00:00:00.000","h_mag":"20.1","i_deg":"52.66","moid_au":"0.131","orbit_class":"Apollo","period_yr":"2.05","pha":"N","q_au_1":"0.94","q_au_2":"2.29"}
,{"designation":"(2014 TW57)","discovery_date":"2014-10-10T00:00:00.000","h_mag":"20.1","i_deg":"6.75","moid_au":"0.062","orbit_class":"Apollo","period_yr":"3.21","pha":"N","q_au_1":"0.57","q_au_2":"3.78"}
,{"designation":"(2014 SR339)","discovery_date":"2014-09-30T00:00:00.000","h_mag":"18.6","i_deg":"29.79","moid_au":"0.036","orbit_class":"Apollo","period_yr":"1.48","pha":"Y","q_au_1":"0.9","q_au_2":"1.69"}
,{"designation":"(2014 RH12)","discovery_date":"2014-09-03T00:00:00.000","h_mag":"23.5","i_deg":"7.23","moid_au":"0.045","orbit_class":"Apollo","period_yr":"3.22","pha":"N","q_au_1":"1.01","q_au_2":"3.35"}
,{"designation":"(2014 QK433)","discovery_date":"2014-08-28T00:00:00.000","h_mag":"18.2","i_deg":"39.22","moid_au":"0.18","orbit_class":"Amor","period_yr":"5.16","pha":"N","q_au_1":"1.19","q_au_2":"4.78"}
,{"designation":"(2014 PP69)","discovery_date":"2014-08-05T00:00:00.000","h_mag":"20","i_deg":"93.63","moid_au":"1.617","orbit_class":"Amor","period_yr":"99.82","pha":"N","q_au_1":"1.25","q_au_2":"41.78"}
,{"designation":"(2014 PF68)","discovery_date":"2014-08-15T00:00:00.000","h_mag":"18.2","i_deg":"22.75","moid_au":"0.17","orbit_class":"Amor","period_yr":"4.81","pha":"N","q_au_1":"1.17","q_au_2":"4.53"}
,{"designation":"(2014 PC68)","discovery_date":"2014-08-08T00:00:00.000","h_mag":"20.4","i_deg":"40.68","moid_au":"0.104","orbit_class":"Amor","period_yr":"1.87","pha":"N","q_au_1":"1.09","q_au_2":"1.95"}
,{"designation":"(2014 OZ1)","discovery_date":"2014-07-20T00:00:00.000","h_mag":"21","i_deg":"18","moid_au":"0.231","orbit_class":"Amor","period_yr":"2.24","pha":"N","q_au_1":"1.08","q_au_2":"2.35"}
,{"designation":"(2014 OY1)","discovery_date":"2014-07-21T00:00:00.000","h_mag":"19.1","i_deg":"23.01","moid_au":"0.042","orbit_class":"Apollo","period_yr":"4.14","pha":"Y","q_au_1":"0.97","q_au_2":"4.19"}
,{"designation":"(2014 NM64)","discovery_date":"2014-07-11T00:00:00.000","h_mag":"22.6","i_deg":"28.78","moid_au":"0.051","orbit_class":"Amor","period_yr":"4.79","pha":"N","q_au_1":"1.06","q_au_2":"4.62"}
,{"designation":"(2014 NE64)","discovery_date":"2014-07-07T00:00:00.000","h_mag":"18.8","i_deg":"41.63","moid_au":"0.39","orbit_class":"Amor","period_yr":"3.06","pha":"N","q_au_1":"1.2","q_au_2":"3.01"}
,{"designation":"(2014 NC64)","discovery_date":"2014-07-13T00:00:00.000","h_mag":"20.2","i_deg":"22.68","moid_au":"0.196","orbit_class":"Apollo","period_yr":"3.23","pha":"N","q_au_1":"0.8","q_au_2":"3.57"}
,{"designation":"(2014 NF3)","discovery_date":"2014-07-01T00:00:00.000","h_mag":"20.8","i_deg":"13.53","moid_au":"0.215","orbit_class":"Apollo","period_yr":"1.48","pha":"N","q_au_1":"0.66","q_au_2":"1.94"}
,{"designation":"C/2014 N3 (NEOWISE)","discovery_date":"2014-07-04T00:00:00.000","i_deg":"61.63","moid_au":"2.888","orbit_class":"Comet","period_yr":"745640.58","pha":"n/a","q_au_1":"3.88","q_au_2":"16441.51"}
,{"designation":"(2014 MQ18)","discovery_date":"2014-06-22T00:00:00.000","h_mag":"15.6","i_deg":"35.09","moid_au":"0.192","orbit_class":"Amor","period_yr":"4.93","pha":"N","q_au_1":"1.16","q_au_2":"4.63"}
,{"designation":"(2014 LQ25)","discovery_date":"2014-06-08T00:00:00.000","h_mag":"20","i_deg":"33.57","moid_au":"0.099","orbit_class":"Apollo","period_yr":"2.88","pha":"N","q_au_1":"0.65","q_au_2":"3.39"}
,{"designation":"P/2014 L2 (NEOWISE)","discovery_date":"2014-06-07T00:00:00.000","i_deg":"5.18","moid_au":"1.224","orbit_class":"Jupiter-family Comet","period_yr":"15.91","pha":"n/a","q_au_1":"2.23","q_au_2":"10.42"}
,{"designation":"(2014 JN57)","discovery_date":"2014-05-11T00:00:00.000","h_mag":"20.6","i_deg":"28.59","moid_au":"0.051","orbit_class":"Amor","period_yr":"1.39","pha":"N","q_au_1":"1.03","q_au_2":"1.45"}
,{"designation":"(2014 JH57)","discovery_date":"2014-05-10T00:00:00.000","h_mag":"16.2","i_deg":"26.54","moid_au":"0.418","orbit_class":"Apollo","period_yr":"6.13","pha":"N","q_au_1":"0.43","q_au_2":"6.27"}
,{"designation":"(2014 JL25)","discovery_date":"2014-05-04T00:00:00.000","h_mag":"23","i_deg":"15.75","moid_au":"0.012","orbit_class":"Apollo","period_yr":"4.94","pha":"N","q_au_1":"1","q_au_2":"4.8"}
,{"designation":"(2014 HJ129)","discovery_date":"2014-04-24T00:00:00.000","h_mag":"21.1","i_deg":"8.44","moid_au":"0.212","orbit_class":"Amor","period_yr":"4.16","pha":"N","q_au_1":"1.13","q_au_2":"4.04"}
,{"designation":"(2014 HQ124)","discovery_date":"2014-04-23T00:00:00.000","h_mag":"18.9","i_deg":"26.37","moid_au":"0.007","orbit_class":"Aten","period_yr":"0.78","pha":"Y","q_au_1":"0.63","q_au_2":"1.07"}
,{"designation":"(2014 EQ49)","discovery_date":"2014-03-15T00:00:00.000","h_mag":"21.8","i_deg":"15.18","moid_au":"0.026","orbit_class":"Apollo","period_yr":"1.23","pha":"Y","q_au_1":"0.91","q_au_2":"1.39"}
,{"designation":"(2014 EN45)","discovery_date":"2014-03-06T00:00:00.000","h_mag":"21.2","i_deg":"14.03","moid_au":"0.156","orbit_class":"Amor","period_yr":"3.82","pha":"N","q_au_1":"1.06","q_au_2":"3.83"}
,{"designation":"(2014 ED)","discovery_date":"2014-03-01T00:00:00.000","h_mag":"19.3","i_deg":"21.77","moid_au":"0.365","orbit_class":"Apollo","period_yr":"1.92","pha":"N","q_au_1":"0.56","q_au_2":"2.53"}
,{"designation":"(2014 CF14)","discovery_date":"2014-02-07T00:00:00.000","h_mag":"18.1","i_deg":"29.41","moid_au":"0.149","orbit_class":"Apollo","period_yr":"2.83","pha":"N","q_au_1":"0.82","q_au_2":"3.17"}
,{"designation":"(2014 CY4)","discovery_date":"2014-02-04T00:00:00.000","h_mag":"21.1","i_deg":"15.02","moid_au":"0.042","orbit_class":"Apollo","period_yr":"4.32","pha":"Y","q_au_1":"0.48","q_au_2":"4.82"}
,{"designation":"C/2014 C3 (NEOWISE)","discovery_date":"2014-02-14T00:00:00.000","i_deg":"151.78","moid_au":"0.866","orbit_class":"Comet","period_yr":"1128.89","pha":"n/a","q_au_1":"1.86","q_au_2":"214.97"}
,{"designation":"(2014 BE63)","discovery_date":"2014-01-23T00:00:00.000","h_mag":"23.2","i_deg":"8.59","moid_au":"0.133","orbit_class":"Apollo","period_yr":"3.08","pha":"N","q_au_1":"0.75","q_au_2":"3.48"}
,{"designation":"(2014 BG60)","discovery_date":"2014-01-25T00:00:00.000","h_mag":"20.1","i_deg":"8.61","moid_au":"0.227","orbit_class":"Amor","period_yr":"5.27","pha":"N","q_au_1":"1.17","q_au_2":"4.89"}
,{"designation":"(2014 AA53)","discovery_date":"2014-01-13T00:00:00.000","h_mag":"19.8","i_deg":"12.45","moid_au":"0.14","orbit_class":"Apollo","period_yr":"3.66","pha":"N","q_au_1":"0.78","q_au_2":"3.97"}
,{"designation":"(2014 AQ46)","discovery_date":"2014-01-02T00:00:00.000","h_mag":"20.1","i_deg":"24.6","moid_au":"0.205","orbit_class":"Amor","period_yr":"3.75","pha":"N","q_au_1":"1.13","q_au_2":"3.7"}
,{"designation":"(2013 YP139)","discovery_date":"2013-12-29T00:00:00.000","h_mag":"21.6","i_deg":"0.82","moid_au":"0.004","orbit_class":"Apollo","period_yr":"3.73","pha":"Y","q_au_1":"0.76","q_au_2":"4.05"}
,{"designation":"(2011 BN59)","discovery_date":"2011-01-29T00:00:00.000","h_mag":"20.4","i_deg":"20.32","moid_au":"0.326","orbit_class":"Amor","period_yr":"5.36","pha":"N","q_au_1":"1.16","q_au_2":"4.97"}
,{"designation":"(2011 BY24)","discovery_date":"2011-01-24T00:00:00.000","h_mag":"22.6","i_deg":"13.95","moid_au":"0.017","orbit_class":"Apollo","period_yr":"2.6","pha":"N","q_au_1":"0.96","q_au_2":"2.83"}
,{"designation":"(2010 YD3)","discovery_date":"2010-12-26T00:00:00.000","h_mag":"20","i_deg":"24.61","moid_au":"0.195","orbit_class":"Amor","period_yr":"4.14","pha":"N","q_au_1":"1.11","q_au_2":"4.05"}
,{"designation":"(2010 YC1)","discovery_date":"2010-12-21T00:00:00.000","h_mag":"21.3","i_deg":"17.66","moid_au":"0.163","orbit_class":"Apollo","period_yr":"1.68","pha":"N","q_au_1":"0.83","q_au_2":"2"}
,{"designation":"(2010 XY82)","discovery_date":"2010-12-14T00:00:00.000","h_mag":"19.1","i_deg":"26.73","moid_au":"0.294","orbit_class":"Amor","period_yr":"3.24","pha":"N","q_au_1":"1.12","q_au_2":"3.26"}
,{"designation":"(2010 XP69)","discovery_date":"2010-12-08T00:00:00.000","h_mag":"21.4","i_deg":"14.6","moid_au":"0.015","orbit_class":"Apollo","period_yr":"1.88","pha":"Y","q_au_1":"1","q_au_2":"2.05"}
,{"designation":"(2010 XZ67)","discovery_date":"2010-12-10T00:00:00.000","h_mag":"19.7","i_deg":"11.84","moid_au":"0.063","orbit_class":"Amor","period_yr":"2.96","pha":"N","q_au_1":"1.04","q_au_2":"3.08"}
,{"designation":"(2010 WE9)","discovery_date":"2010-11-23T00:00:00.000","h_mag":"20","i_deg":"42.12","moid_au":"0.256","orbit_class":"Amor","period_yr":"1.94","pha":"N","q_au_1":"1.17","q_au_2":"1.94"}
,{"designation":"(2010 UB8)","discovery_date":"2010-10-27T00:00:00.000","h_mag":"19.7","i_deg":"30.97","moid_au":"0.194","orbit_class":"Amor","period_yr":"5.15","pha":"N","q_au_1":"1.11","q_au_2":"4.85"}
,{"designation":"(2010 UY6)","discovery_date":"2010-10-23T00:00:00.000","h_mag":"20.1","i_deg":"19.98","moid_au":"0.062","orbit_class":"Amor","period_yr":"4.34","pha":"N","q_au_1":"1.04","q_au_2":"4.28"}
,{"designation":"(2010 TK7)","discovery_date":"2010-10-01T00:00:00.000","h_mag":"20.8","i_deg":"20.89","moid_au":"0.087","orbit_class":"Aten","period_yr":"1","pha":"N","q_au_1":"0.81","q_au_2":"1.19"}
,{"designation":"(2010 QA5)","discovery_date":"2010-08-29T00:00:00.000","h_mag":"22.5","i_deg":"33.45","moid_au":"0.065","orbit_class":"Amor","period_yr":"4.97","pha":"N","q_au_1":"1.07","q_au_2":"4.76"}
,{"designation":"(2010 QE2)","discovery_date":"2010-08-25T00:00:00.000","h_mag":"17.2","i_deg":"64.75","moid_au":"0.056","orbit_class":"Apollo","period_yr":"6.19","pha":"N","q_au_1":"0.88","q_au_2":"5.86"}
,{"designation":"(2010 PY75)","discovery_date":"2010-08-15T00:00:00.000","h_mag":"18.7","i_deg":"31.29","moid_au":"0.243","orbit_class":"Apollo","period_yr":"4.34","pha":"N","q_au_1":"0.6","q_au_2":"4.72"}
,{"designation":"(2010 PU66)","discovery_date":"2010-08-03T00:00:00.000","h_mag":"22.1","i_deg":"18.09","moid_au":"0.148","orbit_class":"Apollo","period_yr":"1.81","pha":"N","q_au_1":"0.91","q_au_2":"2.07"}
,{"designation":"(2010 PW58)","discovery_date":"2010-08-05T00:00:00.000","h_mag":"21.3","i_deg":"14.24","moid_au":"0.021","orbit_class":"Aten","period_yr":"0.84","pha":"Y","q_au_1":"0.7","q_au_2":"1.08"}
,{"designation":"(2010 PP58)","discovery_date":"2010-08-05T00:00:00.000","h_mag":"22.1","i_deg":"4.55","moid_au":"0.014","orbit_class":"Apollo","period_yr":"2.81","pha":"N","q_au_1":"0.99","q_au_2":"3"}
,{"designation":"(2010 PM58)","discovery_date":"2010-08-01T00:00:00.000","h_mag":"20.9","i_deg":"13.6","moid_au":"0.096","orbit_class":"Apollo","period_yr":"1.61","pha":"N","q_au_1":"0.74","q_au_2":"2"}
,{"designation":"P/2010 P4 (WISE)","discovery_date":"2010-08-06T00:00:00.000","i_deg":"24.1","moid_au":"0.854","orbit_class":"Jupiter-family Comet","period_yr":"7.13","pha":"n/a","q_au_1":"1.86","q_au_2":"5.55"}
,{"designation":"(2010 OK126)","discovery_date":"2010-07-30T00:00:00.000","h_mag":"20.7","i_deg":"52.56","moid_au":"0.149","orbit_class":"Amor","period_yr":"2.74","pha":"N","q_au_1":"1.08","q_au_2":"2.83"}
,{"designation":"(2010 OH126)","discovery_date":"2010-07-31T00:00:00.000","h_mag":"21.4","i_deg":"14.38","moid_au":"0.068","orbit_class":"Apollo","period_yr":"2.62","pha":"N","q_au_1":"0.95","q_au_2":"2.85"}
,{"designation":"(2010 ON101)","discovery_date":"2010-07-30T00:00:00.000","h_mag":"20.2","i_deg":"9.31","moid_au":"0.044","orbit_class":"Apollo","period_yr":"2.08","pha":"Y","q_au_1":"0.96","q_au_2":"2.3"}
,{"designation":"(2010 OL101)","discovery_date":"2010-07-27T00:00:00.000","h_mag":"20.4","i_deg":"26.11","moid_au":"0.298","orbit_class":"Amor","period_yr":"4.22","pha":"N","q_au_1":"1.05","q_au_2":"4.17"}
,{"designation":"(2010 OF101)","discovery_date":"2010-07-23T00:00:00.000","h_mag":"19.6","i_deg":"23.37","moid_au":"0.062","orbit_class":"Aten","period_yr":"0.93","pha":"N","q_au_1":"0.64","q_au_2":"1.26"}
,{"designation":"(2010 OD101)","discovery_date":"2010-07-23T00:00:00.000","h_mag":"20.7","i_deg":"15.39","moid_au":"0.19","orbit_class":"Amor","period_yr":"2.06","pha":"N","q_au_1":"1.04","q_au_2":"2.2"}
,{"designation":"(2010 OC101)","discovery_date":"2010-07-22T00:00:00.000","h_mag":"20.7","i_deg":"13.6","moid_au":"0.092","orbit_class":"Apollo","period_yr":"1.35","pha":"N","q_au_1":"0.94","q_au_2":"1.5"}
,{"designation":"(2010 OL100)","discovery_date":"2010-07-28T00:00:00.000","h_mag":"19.6","i_deg":"22.16","moid_au":"0.129","orbit_class":"Apollo","period_yr":"3.4","pha":"N","q_au_1":"0.78","q_au_2":"3.74"}
,{"designation":"(2010 OE22)","discovery_date":"2010-07-17T00:00:00.000","h_mag":"21.3","i_deg":"14.32","moid_au":"0.178","orbit_class":"Apollo","period_yr":"4.28","pha":"N","q_au_1":"0.97","q_au_2":"4.31"}
,{"designation":"(2010 NY65)","discovery_date":"2010-07-14T00:00:00.000","h_mag":"21.4","i_deg":"11.74","moid_au":"0.017","orbit_class":"Aten","period_yr":"1","pha":"Y","q_au_1":"0.63","q_au_2":"1.37"}
,{"designation":"(2010 NG3)","discovery_date":"2010-07-08T00:00:00.000","h_mag":"17.2","i_deg":"26.96","moid_au":"0.127","orbit_class":"Amor","period_yr":"4.2","pha":"N","q_au_1":"1.13","q_au_2":"4.08"}
,{"designation":"(2010 NB2)","discovery_date":"2010-07-10T00:00:00.000","h_mag":"20.3","i_deg":"28.66","moid_au":"0.102","orbit_class":"Apollo","period_yr":"3.01","pha":"N","q_au_1":"0.5","q_au_2":"3.67"}
,{"designation":"(2010 NU1)","discovery_date":"2010-07-06T00:00:00.000","h_mag":"21.2","i_deg":"34.58","moid_au":"0.336","orbit_class":"Apollo","period_yr":"3.74","pha":"N","q_au_1":"0.48","q_au_2":"4.33"}
,{"designation":"(2010 NT1)","discovery_date":"2010-07-04T00:00:00.000","h_mag":"19.4","i_deg":"39.52","moid_au":"0.208","orbit_class":"Amor","period_yr":"1.76","pha":"N","q_au_1":"1.14","q_au_2":"1.78"}
,{"designation":"(2010 NG1)","discovery_date":"2010-07-02T00:00:00.000","h_mag":"20.4","i_deg":"24.74","moid_au":"0.081","orbit_class":"Aten","period_yr":"0.78","pha":"N","q_au_1":"0.57","q_au_2":"1.13"}
,{"designation":"P/2010 N1 (WISE)","discovery_date":"2010-07-05T00:00:00.000","i_deg":"12.88","moid_au":"0.491","orbit_class":"Jupiter-family Comet","period_yr":"5.74","pha":"n/a","q_au_1":"1.49","q_au_2":"4.92"}
,{"designation":"(2010 MA113)","discovery_date":"2010-06-25T00:00:00.000","h_mag":"19.2","i_deg":"39.85","moid_au":"0.081","orbit_class":"Apollo","period_yr":"3.46","pha":"N","q_au_1":"0.89","q_au_2":"3.68"}
,{"designation":"(2010 MZ112)","discovery_date":"2010-06-23T00:00:00.000","h_mag":"19.8","i_deg":"30.18","moid_au":"0.221","orbit_class":"Apollo","period_yr":"2.36","pha":"N","q_au_1":"0.49","q_au_2":"3.06"}
,{"designation":"(2010 MY112)","discovery_date":"2010-06-23T00:00:00.000","h_mag":"21","i_deg":"38.49","moid_au":"0.156","orbit_class":"Apollo","period_yr":"1.1","pha":"N","q_au_1":"0.8","q_au_2":"1.33"}
,{"designation":"(2010 MU112)","discovery_date":"2010-06-30T00:00:00.000","h_mag":"20.7","i_deg":"48.02","moid_au":"0.0002","orbit_class":"Apollo","period_yr":"2.33","pha":"Y","q_au_1":"0.81","q_au_2":"2.71"}
,{"designation":"(2010 MU111)","discovery_date":"2010-06-23T00:00:00.000","h_mag":"18.7","i_deg":"41.53","moid_au":"0.059","orbit_class":"Apollo","period_yr":"3.7","pha":"N","q_au_1":"0.92","q_au_2":"3.86"}
,{"designation":"(2010 MR87)","discovery_date":"2010-06-22T00:00:00.000","h_mag":"19.5","i_deg":"34.98","moid_au":"0.15","orbit_class":"Amor","period_yr":"2.28","pha":"N","q_au_1":"1.06","q_au_2":"2.41"}
,{"designation":"(2010 LU134)","discovery_date":"2010-06-14T00:00:00.000","h_mag":"19.5","i_deg":"27.39","moid_au":"0.146","orbit_class":"Apollo","period_yr":"2.61","pha":"N","q_au_1":"0.86","q_au_2":"2.93"}
,{"designation":"(2010 LV108)","discovery_date":"2010-06-14T00:00:00.000","h_mag":"22.6","i_deg":"5.43","moid_au":"0.006","orbit_class":"Apollo","period_yr":"4.64","pha":"N","q_au_1":"1.01","q_au_2":"4.55"}
,{"designation":"(2010 LU108)","discovery_date":"2010-06-15T00:00:00.000","h_mag":"20","i_deg":"9.51","moid_au":"0.126","orbit_class":"Apollo","period_yr":"3.35","pha":"N","q_au_1":"0.41","q_au_2":"4.08"}
,{"designation":"(2010 LT108)","discovery_date":"2010-06-13T00:00:00.000","h_mag":"19.7","i_deg":"31.87","moid_au":"0.138","orbit_class":"Apollo","period_yr":"1.57","pha":"N","q_au_1":"0.85","q_au_2":"1.85"}
,{"designation":"(2010 LO97)","discovery_date":"2010-06-13T00:00:00.000","h_mag":"18.7","i_deg":"21.65","moid_au":"0.233","orbit_class":"Amor","period_yr":"4.14","pha":"N","q_au_1":"1.22","q_au_2":"3.94"}
,{"designation":"(2010 LF86)","discovery_date":"2010-06-11T00:00:00.000","h_mag":"17.2","i_deg":"13.55","moid_au":"0.318","orbit_class":"Amor","period_yr":"3.73","pha":"N","q_au_1":"1.3","q_au_2":"3.51"}
,{"designation":"(2010 LR68)","discovery_date":"2010-06-08T00:00:00.000","h_mag":"18.3","i_deg":"4.58","moid_au":"0.216","orbit_class":"Amor","period_yr":"5.29","pha":"N","q_au_1":"1.19","q_au_2":"4.88"}
,{"designation":"(2010 LL68)","discovery_date":"2010-06-12T00:00:00.000","h_mag":"22.9","i_deg":"10.48","moid_au":"0.139","orbit_class":"Apollo","period_yr":"2.99","pha":"N","q_au_1":"0.98","q_au_2":"3.16"}
,{"designation":"(2010 LK68)","discovery_date":"2010-06-12T00:00:00.000","h_mag":"22.5","i_deg":"22.08","moid_au":"0.025","orbit_class":"Apollo","period_yr":"1.27","pha":"N","q_au_1":"0.61","q_au_2":"1.73"}
,{"designation":"(2010 LJ68)","discovery_date":"2010-06-11T00:00:00.000","h_mag":"22.7","i_deg":"17.01","moid_au":"0.031","orbit_class":"Apollo","period_yr":"2.32","pha":"N","q_au_1":"0.97","q_au_2":"2.54"}
,{"designation":"(2010 LG64)","discovery_date":"2010-06-05T00:00:00.000","h_mag":"20.2","i_deg":"42.28","moid_au":"0.043","orbit_class":"Amor","period_yr":"4.36","pha":"Y","q_au_1":"1.04","q_au_2":"4.3"}
,{"designation":"(2010 LF64)","discovery_date":"2010-06-03T00:00:00.000","h_mag":"21.6","i_deg":"18.54","moid_au":"0.192","orbit_class":"Amor","period_yr":"1.59","pha":"N","q_au_1":"1.13","q_au_2":"1.59"}
,{"designation":"(2010 LJ61)","discovery_date":"2010-06-08T00:00:00.000","h_mag":"20.9","i_deg":"10.24","moid_au":"0.054","orbit_class":"Apollo","period_yr":"1.12","pha":"N","q_au_1":"0.57","q_au_2":"1.59"}
,{"designation":"(2010 LQ33)","discovery_date":"2010-06-04T00:00:00.000","h_mag":"19.3","i_deg":"24.63","moid_au":"0.228","orbit_class":"Amor","period_yr":"3.42","pha":"N","q_au_1":"1.23","q_au_2":"3.31"}
,{"designation":"(2010 LM14)","discovery_date":"2010-06-02T00:00:00.000","h_mag":"21.5","i_deg":"25.92","moid_au":"0.312","orbit_class":"Apollo","period_yr":"1.17","pha":"N","q_au_1":"0.69","q_au_2":"1.53"}
,{"designation":"(2010 LH14)","discovery_date":"2010-06-02T00:00:00.000","h_mag":"22","i_deg":"4.66","moid_au":"0.054","orbit_class":"Apollo","period_yr":"3.26","pha":"N","q_au_1":"0.93","q_au_2":"3.46"}
,{"designation":"C/2010 L5 (WISE)","discovery_date":"2010-06-14T00:00:00.000","i_deg":"147.05","moid_au":"0.114","orbit_class":"Halley-type Comet*","period_yr":"23.56","pha":"n/a","q_au_1":"0.79","q_au_2":"15.64"}
,{"designation":"C/2010 L4 (WISE)","discovery_date":"2010-06-15T00:00:00.000","i_deg":"102.82","moid_au":"2.53","orbit_class":"Comet","period_yr":"716.78","pha":"n/a","q_au_1":"2.83","q_au_2":"157.36"}
,{"designation":"245P/WISE","discovery_date":"2010-06-02T00:00:00.000","i_deg":"21.09","moid_au":"1.172","orbit_class":"Jupiter-family Comet","period_yr":"8.04","pha":"n/a","q_au_1":"2.14","q_au_2":"5.88"}
,{"designation":"(2010 KY127)","discovery_date":"2010-05-31T00:00:00.000","h_mag":"17","i_deg":"60.29","moid_au":"0.703","orbit_class":"Apollo","period_yr":"3.95","pha":"N","q_au_1":"0.3","q_au_2":"4.7"}
,{"designation":"(2010 KK127)","discovery_date":"2010-05-21T00:00:00.000","h_mag":"20.7","i_deg":"6.94","moid_au":"0.282","orbit_class":"Amor","period_yr":"3.33","pha":"N","q_au_1":"1.28","q_au_2":"3.18"}
,{"designation":"(2010 KZ117)","discovery_date":"2010-05-18T00:00:00.000","h_mag":"19.2","i_deg":"33.17","moid_au":"0.166","orbit_class":"Amor","period_yr":"3.42","pha":"N","q_au_1":"1.1","q_au_2":"3.43"}
,{"designation":"(2010 KB61)","discovery_date":"2010-05-26T00:00:00.000","h_mag":"20.5","i_deg":"44.6","moid_au":"0.051","orbit_class":"Apollo","period_yr":"1.44","pha":"N","q_au_1":"0.98","q_au_2":"1.57"}
,{"designation":"(2010 KY39)","discovery_date":"2010-05-18T00:00:00.000","h_mag":"20.1","i_deg":"25.51","moid_au":"0.303","orbit_class":"Amor","period_yr":"2.3","pha":"N","q_au_1":"1.05","q_au_2":"2.43"}
,{"designation":"C/2010 KW7 (WISE)","discovery_date":"2010-05-16T00:00:00.000","i_deg":"147.06","moid_au":"1.625","orbit_class":"Comet","period_yr":"997.65","pha":"n/a","q_au_1":"2.57","q_au_2":"197.11"}
,{"designation":"317P/WISE","discovery_date":"2010-05-27T00:00:00.000","i_deg":"10.65","moid_au":"0.204","orbit_class":"Jupiter-family Comet","period_yr":"5.01","pha":"n/a","q_au_1":"1.2","q_au_2":"4.65"}
,{"designation":"(2010 KH)","discovery_date":"2010-05-16T00:00:00.000","h_mag":"19.4","i_deg":"14.57","moid_au":"0.367","orbit_class":"Amor","period_yr":"4.59","pha":"N","q_au_1":"1.24","q_au_2":"4.28"}
,{"designation":"(2010 JM151)","discovery_date":"2010-05-14T00:00:00.000","h_mag":"19.6","i_deg":"16.65","moid_au":"0.111","orbit_class":"Apollo","period_yr":"2.21","pha":"N","q_au_1":"0.88","q_au_2":"2.52"}
,{"designation":"(2010 JH87)","discovery_date":"2010-05-11T00:00:00.000","h_mag":"19.6","i_deg":"43.78","moid_au":"0.221","orbit_class":"Apollo","period_yr":"1.91","pha":"N","q_au_1":"0.71","q_au_2":"2.37"}
,{"designation":"(2010 JG87)","discovery_date":"2010-05-11T00:00:00.000","h_mag":"19.1","i_deg":"16.91","moid_au":"0.209","orbit_class":"Apollo","period_yr":"4.59","pha":"N","q_au_1":"0.14","q_au_2":"5.38"}
,{"designation":"(2010 JF87)","discovery_date":"2010-05-11T00:00:00.000","h_mag":"19.2","i_deg":"24.93","moid_au":"0.053","orbit_class":"Apollo","period_yr":"3.8","pha":"N","q_au_1":"0.92","q_au_2":"3.95"}
,{"designation":"(2010 JE87)","discovery_date":"2010-05-10T00:00:00.000","h_mag":"20.8","i_deg":"16.92","moid_au":"0.035","orbit_class":"Aten","period_yr":"0.86","pha":"Y","q_au_1":"0.51","q_au_2":"1.3"}
,{"designation":"(2010 JD87)","discovery_date":"2010-05-07T00:00:00.000","h_mag":"19.2","i_deg":"24.6","moid_au":"0.283","orbit_class":"Apollo","period_yr":"1.71","pha":"N","q_au_1":"0.51","q_au_2":"2.34"}
,{"designation":"P/2010 JC81 (WISE)","discovery_date":"2010-05-10T00:00:00.000","i_deg":"38.69","moid_au":"0.828","orbit_class":"Halley-type Comet*","period_yr":"23.19","pha":"n/a","q_au_1":"1.81","q_au_2":"14.46"}
,{"designation":"(2010 JA43)","discovery_date":"2010-05-04T00:00:00.000","h_mag":"20.9","i_deg":"36.46","moid_au":"0.186","orbit_class":"Amor","period_yr":"2.23","pha":"N","q_au_1":"1.03","q_au_2":"2.38"}
,{"designation":"(2010 JN33)","discovery_date":"2010-05-03T00:00:00.000","h_mag":"20.4","i_deg":"53.15","moid_au":"0.257","orbit_class":"Amor","period_yr":"1.94","pha":"N","q_au_1":"1.11","q_au_2":"2"}
,{"designation":"C/2010 J4 (WISE)","discovery_date":"2010-05-12T00:00:00.000","i_deg":"162.3","moid_au":"0.307","orbit_class":"Parabolic Comet","pha":"n/a","q_au_1":"1.09"}
,{"designation":"(2010 HZ108)","discovery_date":"2010-04-25T00:00:00.000","h_mag":"20.9","i_deg":"22.88","moid_au":"0.108","orbit_class":"Apollo","period_yr":"1.39","pha":"N","q_au_1":"0.99","q_au_2":"1.51"}
,{"designation":"(2010 HX107)","discovery_date":"2010-04-20T00:00:00.000","h_mag":"23.6","i_deg":"3.36","moid_au":"0.014","orbit_class":"Aten","period_yr":"0.72","pha":"N","q_au_1":"0.56","q_au_2":"1.04"}
,{"designation":"(2010 HZ104)","discovery_date":"2010-04-23T00:00:00.000","h_mag":"22.5","i_deg":"20.24","moid_au":"0.029","orbit_class":"Apollo","period_yr":"3.37","pha":"N","q_au_1":"0.97","q_au_2":"3.52"}
,{"designation":"(2010 HW81)","discovery_date":"2010-04-25T00:00:00.000","h_mag":"21.4","i_deg":"12.77","moid_au":"0.117","orbit_class":"Apollo","period_yr":"1.33","pha":"N","q_au_1":"0.33","q_au_2":"2.1"}
,{"designation":"(2010 HD33)","discovery_date":"2010-04-20T00:00:00.000","h_mag":"18.3","i_deg":"24.43","moid_au":"0.372","orbit_class":"Amor","period_yr":"4.24","pha":"N","q_au_1":"1.27","q_au_2":"3.97"}
,{"designation":"(2010 GV147)","discovery_date":"2010-04-14T00:00:00.000","h_mag":"18.5","i_deg":"44.05","moid_au":"0.316","orbit_class":"Aten","period_yr":"0.94","pha":"N","q_au_1":"0.33","q_au_2":"1.59"}
,{"designation":"(2010 GR75)","discovery_date":"2010-04-13T00:00:00.000","h_mag":"19.6","i_deg":"17.78","moid_au":"0.299","orbit_class":"Apollo","period_yr":"2.27","pha":"N","q_au_1":"0.63","q_au_2":"2.82"}
,{"designation":"(2010 GQ75)","discovery_date":"2010-04-12T00:00:00.000","h_mag":"20.2","i_deg":"43.23","moid_au":"0.598","orbit_class":"Apollo","period_yr":"3.79","pha":"N","q_au_1":"0.33","q_au_2":"4.53"}
,{"designation":"(2010 GP67)","discovery_date":"2010-04-11T00:00:00.000","h_mag":"22.3","i_deg":"13.27","moid_au":"0.018","orbit_class":"Apollo","period_yr":"1.18","pha":"N","q_au_1":"0.99","q_au_2":"1.23"}
,{"designation":"(2010 GH65)","discovery_date":"2010-04-10T00:00:00.000","h_mag":"18.8","i_deg":"21.04","moid_au":"0.15","orbit_class":"Amor","period_yr":"4.45","pha":"N","q_au_1":"1.05","q_au_2":"4.36"}
,{"designation":"(2010 GX62)","discovery_date":"2010-04-10T00:00:00.000","h_mag":"20","i_deg":"21.66","moid_au":"0.013","orbit_class":"Apollo","period_yr":"5.07","pha":"Y","q_au_1":"0.87","q_au_2":"5.03"}
,{"designation":"(2010 GW62)","discovery_date":"2010-04-09T00:00:00.000","h_mag":"19.4","i_deg":"32.43","moid_au":"0.44","orbit_class":"Apollo","period_yr":"1.43","pha":"N","q_au_1":"0.54","q_au_2":"2"}
,{"designation":"(2010 GF25)","discovery_date":"2010-04-02T00:00:00.000","h_mag":"19.1","i_deg":"38.49","moid_au":"0.399","orbit_class":"Apollo","period_yr":"1.7","pha":"N","q_au_1":"0.37","q_au_2":"2.47"}
,{"designation":"(2010 GE25)","discovery_date":"2010-04-01T00:00:00.000","h_mag":"20","i_deg":"21.66","moid_au":"0.22","orbit_class":"Amor","period_yr":"2.97","pha":"N","q_au_1":"1.1","q_au_2":"3.03"}
,{"designation":"(2010 GK23)","discovery_date":"2010-04-05T00:00:00.000","h_mag":"19.7","i_deg":"34.77","moid_au":"0.097","orbit_class":"Apollo","period_yr":"4.32","pha":"N","q_au_1":"0.87","q_au_2":"4.43"}
,{"designation":"C/2010 G3 (WISE)","discovery_date":"2010-04-14T00:00:00.000","i_deg":"108.27","moid_au":"4.492","orbit_class":"Comet","period_yr":"135070.2","pha":"n/a","q_au_1":"4.91","q_au_2":"5260.08"}
,{"designation":"C/2010 FB87 (WISE-Garradd)","discovery_date":"2010-03-28T00:00:00.000","i_deg":"107.63","moid_au":"2.538","orbit_class":"Comet","period_yr":"5176.82","pha":"n/a","q_au_1":"2.84","q_au_2":"595.66"}
,{"designation":"(2010 FJ81)","discovery_date":"2010-03-31T00:00:00.000","h_mag":"20.8","i_deg":"42.54","moid_au":"0.128","orbit_class":"Amor","period_yr":"6.82","pha":"N","q_au_1":"1.14","q_au_2":"6.06"}
,{"designation":"(2010 FH81)","discovery_date":"2010-03-31T00:00:00.000","h_mag":"21.6","i_deg":"16.79","moid_au":"0.034","orbit_class":"Apollo","period_yr":"1.36","pha":"Y","q_au_1":"0.97","q_au_2":"1.48"}
,{"designation":"(2010 FG81)","discovery_date":"2010-03-26T00:00:00.000","h_mag":"23.3","i_deg":"7.97","moid_au":"0.019","orbit_class":"Apollo","period_yr":"2.14","pha":"N","q_au_1":"1.01","q_au_2":"2.31"}
,{"designation":"(2010 FC81)","discovery_date":"2010-03-30T00:00:00.000","h_mag":"21.8","i_deg":"1.68","moid_au":"0.027","orbit_class":"Apollo","period_yr":"4.38","pha":"Y","q_au_1":"1.01","q_au_2":"4.35"}
,{"designation":"(2010 FB81)","discovery_date":"2010-03-30T00:00:00.000","h_mag":"21.4","i_deg":"9.48","moid_au":"0.096","orbit_class":"Amor","period_yr":"4.14","pha":"N","q_au_1":"1.02","q_au_2":"4.14"}
,{"designation":"(2010 FA81)","discovery_date":"2010-03-29T00:00:00.000","h_mag":"22.3","i_deg":"15.48","moid_au":"0.035","orbit_class":"Apollo","period_yr":"1.31","pha":"N","q_au_1":"1.01","q_au_2":"1.38"}
,{"designation":"(2010 FZ80)","discovery_date":"2010-03-28T00:00:00.000","h_mag":"20.3","i_deg":"27.34","moid_au":"0.297","orbit_class":"Apollo","period_yr":"4.56","pha":"N","q_au_1":"0.7","q_au_2":"4.8"}
,{"designation":"(2010 FY80)","discovery_date":"2010-03-28T00:00:00.000","h_mag":"19.7","i_deg":"18.81","moid_au":"0.14","orbit_class":"Amor","period_yr":"4.42","pha":"N","q_au_1":"1.05","q_au_2":"4.35"}
,{"designation":"(2010 FX80)","discovery_date":"2010-03-27T00:00:00.000","h_mag":"20.6","i_deg":"36.96","moid_au":"0.535","orbit_class":"Amor","period_yr":"3.19","pha":"N","q_au_1":"1.18","q_au_2":"3.15"}
,{"designation":"(2010 EX119)","discovery_date":"2010-03-13T00:00:00.000","h_mag":"19.4","i_deg":"15.57","moid_au":"0.159","orbit_class":"Apollo","period_yr":"2.63","pha":"N","q_au_1":"0.77","q_au_2":"3.04"}
,{"designation":"(2010 EN44)","discovery_date":"2010-03-12T00:00:00.000","h_mag":"24.3","i_deg":"10.18","moid_au":"0.023","orbit_class":"Apollo","period_yr":"1.22","pha":"N","q_au_1":"0.96","q_au_2":"1.33"}
,{"designation":"(2010 EX11)","discovery_date":"2010-03-03T00:00:00.000","h_mag":"24.1","i_deg":"9.75","moid_au":"0.029","orbit_class":"Aten","period_yr":"0.93","pha":"N","q_au_1":"0.85","q_au_2":"1.06"}
,{"designation":"C/2010 E3 (WISE)","discovery_date":"2010-03-05T00:00:00.000","i_deg":"96.48","moid_au":"1.546","orbit_class":"Parabolic Comet","pha":"n/a","q_au_1":"2.27"}
,{"designation":"(2010 DJ77)","discovery_date":"2010-02-20T00:00:00.000","h_mag":"21.6","i_deg":"24.98","moid_au":"0.05","orbit_class":"Aten","period_yr":"0.93","pha":"Y","q_au_1":"0.75","q_au_2":"1.16"}
,{"designation":"(2010 DH77)","discovery_date":"2010-02-19T00:00:00.000","h_mag":"21.8","i_deg":"34.38","moid_au":"0.146","orbit_class":"Apollo","period_yr":"5.9","pha":"N","q_au_1":"0.95","q_au_2":"5.58"}
,{"designation":"(2010 DG77)","discovery_date":"2010-02-19T00:00:00.000","h_mag":"21.4","i_deg":"14.81","moid_au":"0.009","orbit_class":"Apollo","period_yr":"3.02","pha":"Y","q_au_1":"0.96","q_au_2":"3.22"}
,{"designation":"(2010 DM56)","discovery_date":"2010-02-19T00:00:00.000","h_mag":"19.9","i_deg":"25.61","moid_au":"0.006","orbit_class":"Apollo","period_yr":"1.49","pha":"Y","q_au_1":"0.92","q_au_2":"1.69"}
,{"designation":"(2010 DJ56)","discovery_date":"2010-02-23T00:00:00.000","h_mag":"19.3","i_deg":"34.84","moid_au":"0.028","orbit_class":"Apollo","period_yr":"1.4","pha":"Y","q_au_1":"0.94","q_au_2":"1.56"}
,{"designation":"(2010 DH56)","discovery_date":"2010-02-20T00:00:00.000","h_mag":"20.3","i_deg":"33.67","moid_au":"0.333","orbit_class":"Apollo","period_yr":"3.35","pha":"N","q_au_1":"0.97","q_au_2":"3.51"}
,{"designation":"C/2010 DG56 (WISE)","discovery_date":"2010-02-18T00:00:00.000","i_deg":"160.42","moid_au":"0.65","orbit_class":"Comet","period_yr":"555.03","pha":"n/a","q_au_1":"1.59","q_au_2":"133.48"}
,{"designation":"(2010 DK34)","discovery_date":"2010-02-20T00:00:00.000","h_mag":"20.4","i_deg":"27.34","moid_au":"0.333","orbit_class":"Apollo","period_yr":"4.54","pha":"N","q_au_1":"0.65","q_au_2":"4.83"}
,{"designation":"(2010 DM21)","discovery_date":"2010-02-16T00:00:00.000","h_mag":"20.2","i_deg":"21.15","moid_au":"0.26","orbit_class":"Apollo","period_yr":"4.85","pha":"N","q_au_1":"0.98","q_au_2":"4.74"}
,{"designation":"C/2010 D4 (WISE)","discovery_date":"2010-02-28T00:00:00.000","i_deg":"105.66","moid_au":"6.373","orbit_class":"Comet","period_yr":"520.06","pha":"n/a","q_au_1":"7.15","q_au_2":"122.19"}
,{"designation":"C/2010 D3 (WISE)","discovery_date":"2010-02-26T00:00:00.000","i_deg":"76.39","moid_au":"3.586","orbit_class":"Comet","period_yr":"1254179.62","pha":"n/a","q_au_1":"4.25","q_au_2":"23255.11"}
,{"designation":"P/2010 D2 (WISE)","discovery_date":"2010-02-25T00:00:00.000","i_deg":"57.18","moid_au":"2.945","orbit_class":"Jupiter-family Comet*","period_yr":"17.3","pha":"n/a","q_au_1":"3.66","q_au_2":"9.72"}
,{"designation":"P/2010 D1 (WISE)","discovery_date":"2010-02-17T00:00:00.000","i_deg":"9.65","moid_au":"1.683","orbit_class":"Jupiter-family Comet","period_yr":"8.45","pha":"n/a","q_au_1":"2.67","q_au_2":"5.63"}
,{"designation":"(2010 CN141)","discovery_date":"2010-02-14T00:00:00.000","h_mag":"22.4","i_deg":"23.8","moid_au":"0.06","orbit_class":"Apollo","period_yr":"1.87","pha":"N","q_au_1":"0.91","q_au_2":"2.12"}
,{"designation":"(2010 CP140)","discovery_date":"2010-02-13T00:00:00.000","h_mag":"19.5","i_deg":"14.47","moid_au":"0.097","orbit_class":"Apollo","period_yr":"2.62","pha":"N","q_au_1":"0.88","q_au_2":"2.92"}
,{"designation":"(2010 CC55)","discovery_date":"2010-02-11T00:00:00.000","h_mag":"22.5","i_deg":"6.78","moid_au":"0.079","orbit_class":"Apollo","period_yr":"1.92","pha":"N","q_au_1":"0.82","q_au_2":"2.27"}
,{"designation":"(2010 CA55)","discovery_date":"2010-02-05T00:00:00.000","h_mag":"21.3","i_deg":"58.85","moid_au":"0.151","orbit_class":"Apollo","period_yr":"12.13","pha":"N","q_au_1":"0.67","q_au_2":"9.89"}
,{"designation":"(2010 CH18)","discovery_date":"2010-02-09T00:00:00.000","h_mag":"19","i_deg":"27.15","moid_au":"0.333","orbit_class":"Amor","period_yr":"4.21","pha":"N","q_au_1":"1.12","q_au_2":"4.09"}
,{"designation":"(2010 CG18)","discovery_date":"2010-02-06T00:00:00.000","h_mag":"20.8","i_deg":"10.15","moid_au":"0.13","orbit_class":"Amor","period_yr":"1.73","pha":"N","q_au_1":"1.11","q_au_2":"1.76"}
,{"designation":"(2010 CO1)","discovery_date":"2010-02-01T00:00:00.000","h_mag":"21.5","i_deg":"24.03","moid_au":"0.023","orbit_class":"Apollo","period_yr":"1.02","pha":"Y","q_au_1":"0.79","q_au_2":"1.23"}
,{"designation":"P/2010 B2 (WISE)","discovery_date":"2010-01-22T00:00:00.000","i_deg":"8.93","moid_au":"0.63","orbit_class":"Encke-type Comet","period_yr":"5.49","pha":"n/a","q_au_1":"1.62","q_au_2":"4.6"}
,{"designation":"(2010 AU118)","discovery_date":"2010-01-13T00:00:00.000","h_mag":"17.7","i_deg":"43.73","moid_au":"0.147","orbit_class":"Amor","period_yr":"2.06","pha":"N","q_au_1":"1.13","q_au_2":"2.12"}
,{"designation":"(2010 AG79)","discovery_date":"2010-01-13T00:00:00.000","h_mag":"19.9","i_deg":"32.96","moid_au":"0.244","orbit_class":"Amor","period_yr":"4.95","pha":"N","q_au_1":"1.22","q_au_2":"4.59"}
,{"designation":"(2010 AB78)","discovery_date":"2010-01-12T00:00:00.000","h_mag":"18.3","i_deg":"33.26","moid_au":"0.206","orbit_class":"Amor","period_yr":"3.38","pha":"N","q_au_1":"1.02","q_au_2":"3.49"}]
package main
import (
"io/ioutil"
"log"
"os"
"testing"
yaml "gopkg.in/yaml.v2"
)
type NearEarthObject struct {
Designation string `json:"designation"`
DiscoveryDate string `json:"discovery_date"`
HMag string `json:"h_mag"`
IDeg string `json:"i_deg"`
MoidAu string `json:"moid_au"`
OrbitClass string `json:"orbit_class"`
PeriodYr string `json:"period_yr"`
Pha string `json:"pha"`
QAu1 string `json:"q_au_1"`
QAu2 string `json:"q_au_2"`
}
var data []byte
func TestMain(m *testing.M) {
var err error
data, err = ioutil.ReadFile("noo.json")
if err != nil {
log.Fatalf("error: %v", err)
}
os.Exit(m.Run())
}
func BenchmarkUnmarshal(b *testing.B) {
for n := 0; n < b.N; n++ {
objlist := []*NearEarthObject{}
err := yaml.Unmarshal([]byte(data), &objlist)
if err != nil {
log.Fatalf("error: %v", err)
}
if len(objlist) < 200 {
log.Fatalf("error: unmarshal failed")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment