Thanks so much all who help me, I appreciate it! Ok, for example: first row achieve: xÚ –Ûjã0 E ¥èÙ.:GWûWJ 2 e ¦} ù÷êb7Ú; yñòÖ> )º˜×Ÿoï?^ÿ ÿü5«Q+a {²yUY>Í6[k&ónÖ‹9ŸÍ*b Œ¶çòX þ›Õ?/Ëu Éò¼äB~›õåRŸm{ êÛ_=˜Ì¶ü¼¹N—ÏW]x „Ym <rˆ³¸C‡<K<r [4‡ Ù „¨-Ó]ÐÛs¯ # ÖNˆ A¾TÔVœ ºŒ«ö/ÓV Ûªº¶4 Ho ¯4»ùMóÈHô»h½ßGÑö– šÏÖo [»^FcÓŒ.Û¤ ãq ÌŽF ƒI:Ôì“ö ΪCÒßï’±š>h " QÛ§oe?½ÜÚ Ì¤§i‘€X ÎL À3H 2 3EÊŠ Å àLu %õC BêÔ ˆ`Z@ñ #¨Õ‚iÙ Ši àX ¸öQ0 êGùq-jiIí˜ PÂfž= U[;6m Cà ŠÖÉ' ~ m=• ˆ ¢v <„Må΃3U! *E¡òµ ‚Ä 3X ¸!l;äÆ Óíh EdÅB a Ú Àñ’¡c ò¨ ãŽê€MkÇÐ# p –ôù@€Õ*§®0ü (+ÆïRC´&#@ î–dRPùŽÃ:øØ Pµ¾ l¡oÛ )ê ã O ’ , ”M•Sw¨ °÷;ÀâBk²Ž@,)$0HdªB ‡a#·0¶ & F;¶Ä"€ Q"79Â1Þ 2p¼Ä³"0ˆ òP « VÙƒvCä±LÜ Äå'>r ÷#µò €§%õø„%”Xæ ÉÜ ÌÅeøKêS_Ú®¼%Vï q\²Ý.P õf` ”L5 ñd¢ ×$ wa8UüRõz‘n׋ 2 2å#wû VC¦® ° µ¸íŽK`è¡ãawm„lW6c¦a¿<Èétý‡>ëù
second row json: {"logins":[["2011-11-06",1]],"last_login":"Sun Nov 06 16:52:45 -0800 2011","d":{"2010-11-05":{"gg":0,"r":4.99,"g":0},"2011-06-22":{"gg":0,"1":{"g":100,"r":4.99},"g":100,"r":4.99},"2011-07-16":{"gg":0,"1":{"r":9.99,"g":200},"r":9.99,"g":200},"2010-11-20":{"gg":0,"r":4.99,"g":100}},"h":[{"d":"2011-06-22","wid":"1","g":100,"r":4.99},{"d":"2011-07-16","r":9.99,"g":200,"wid":"1"}],"t":{"gg":0,"1":{"g":300,"r":14.98},"r":24.96,"g":400}} my code begin unpack and when it comes to the row, an error. I need to leave the row and continued to unpack, and and that all output to the screen like JSON parser. пятница, 11 ноября 2016 г., 8:07:52 UTC+2 пользователь Tamás Gulácsi написал: > > 2016. november 10., csütörtök 21:20:46 UTC+1 időpontban Sergio Hunter a > következőt írta: >> >> I can't because аccess to the database is only granted to me. >> If leave my code and only add code which would be skip text rows and >> continues to unpack the archive? >> >> > We haven't asked for access to the db, just some sample code! > > If you want to distinguish between (probably) JSON and other text, that's > easy: JSON starts with '{'. > If you want to distinguish between gzipped and non-gzipped text, that's > easy: gzip starts with "\x1f\x8b": http://www.ietf.org/rfc/rfc1952.txt > T > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.