🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153450

GSON określony format pomocy

#153450
From: J-23
Date: Sun, 27 May 2012 22:53
62 lines
2864 bytes
Witam
Mam problem próbuje za pomocą GSON uzyskać takiego JSON: (Poradzcie coś 
bo mi jakoś z JSON nie idzie)

{
     records:[{
                 name:'Middleton, Wendy V.',
                 email:'morbi.tristique@iaculisquis.org',
                 phone:5574291911,
                 state:'TX',
                 zip:'51334'
             },
             {
                 name:'Stark, Olivia P.',
                 email:'urna.suscipit.nonummy@faucibusleo.edu',
                 phone:1666312154,
                 state:'CA',
                 zip:'F8F 6N7'
             },
             {
                 name:'Shannon, Rhea D.',
                 email:'Integer@nibhPhasellusnulla.org',
                 phone:2413489010,
                 state:'IN',
                 zip:'63206'
             },
             {
                 name:'Diaz, August F.',
                 email:'elementum.purus@est.edu',
                 phone:3012535650,
                 state:'MS',
                 zip:'R5J 9C0'
             },
             {
                 name:'Hahn, Garrison B.',
                 email:'Cras.eu.tellus@elementum.edu',
                 phone:3154455608,
                 state:'FL',
                 zip:'F2Y 3W4'
             },
             {
                 name:'Simon, Melanie O.',
                 email:'Curabitur.dictum.Phasellus@venenatisamagna.edu',
                 phone:4025449884,
                 state:'LA',
                 zip:'26268'
             },
             {
                 name:'Morales, Inez E.',
                 email:'mollis@eunullaat.org',
                 phone:5363404748,
                 state:'GA',
                 zip:'9054'
             },
             {
                 name:'Dennis, Desiree Q.',
                 email:'eu.eros.Nam@Nullam.com',
                 phone:4715368003,
                 state:'AK',
                 zip:'N3J 9X4'
             }]
}
Technical Details
Message-ID: <jpubee$57r$1@mx1.internetia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail
From: J-23 <baczeklu@poczta.fm>
Newsgroups: pl.comp.lang.java
Subject: GSON określony format pomocy
Date: Mon, 28 May 2012 00:53:55 +0200
Organization: Netia S.A.
Lines: 62
Message-ID: <jpubee$57r$1@mx1.internetia.pl>
NNTP-Posting-Host: 77-253-91-204.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: mx1.internetia.pl 1338159374 5371 77.253.91.204 (27 May 2012 22:56:14 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: Sun, 27 May 2012 22:56:14 +0000 (UTC)
X-Tech-Contact: usenet@internetia.pl
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
X-Server-Info: http://www.internetia.pl/
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit