code logs -> 2015 -> Tue, 16 Jun 2015< code.20150615.log - code.20150617.log >
--- Log opened Tue Jun 16 00:00:05 2015
00:39 thalass [thalass@Nightstar-u1q.snj.114.24.IP] has joined #code
00:39 mode/#code [+o thalass] by ChanServ
00:41 Derakon[AFK] is now known as Derakon
00:57 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
01:34 Meatyhandbag [sebastianfe@Nightstar-803.59c.73.97.IP] has quit [Connection reset by peer]
01:38 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed]
02:57 catadroid` [catalyst@Nightstar-kpies4.dab.02.net] has joined #code
03:01 catadroid [catalyst@Nightstar-mvu07s.dab.02.net] has quit [Ping timeout: 121 seconds]
03:07 thalass [thalass@Nightstar-u1q.snj.114.24.IP] has quit [[NS] Quit: g'night]
03:34 Meatyhandbag [sebastianfe@Nightstar-803.59c.73.97.IP] has joined #code
05:10 Derakon is now known as Derakon[AFK]
05:12 catadroid` [catalyst@Nightstar-kpies4.dab.02.net] has quit [A TLS packet with unexpected length was received.]
05:12 catadroid [catalyst@Nightstar-nafmrq.dab.02.net] has joined #code
05:47 macdjord|wurk is now known as macdjord
06:03 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
06:06 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
06:20 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds]
06:46 celticminstrel [celticminst@Nightstar-uelp1m.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:02 Kindamoody[zZz] is now known as Kindamoody
07:18 Alek [omegaboot@Nightstar-03ja8q.il.comcast.net] has quit [Ping timeout: 121 seconds]
07:51 Kindamoody is now known as Kindamoody|afk
08:57 gnolam_ [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
08:58 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Ping timeout: 121 seconds]
09:27 catadroid` [catalyst@Nightstar-nafmrq.dab.02.net] has joined #code
09:31 catadroid [catalyst@Nightstar-nafmrq.dab.02.net] has quit [Ping timeout: 121 seconds]
09:36 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [Ping timeout: 121 seconds]
09:48 Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code
10:50 * TheWatcher hairpulls
10:51
<@TheWatcher>
'Bareword "Types::Serialiser::Error::" refers to nonexistent package at /usr/lib64/perl5/vendor_perl/5.20.2/Types/Serialiser.pm line 126." but WTF
10:51
<@froztbyte>
#justperlthings
11:17 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
11:22 macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code
11:22 mode/#code [+o macdjord] by ChanServ
11:26 catadroid` is now known as catadroid
11:56 gnolam_ is now known as gnolam
11:56 mode/#code [+o gnolam] by ChanServ
13:09
< abudhabi>
Is there any way to traverse JSON data in a manner similar to Javascript, in Java?
13:09
< abudhabi>
I mean, in JS, I just parse it to an array, and use that to extract the data I want.
13:09
< abudhabi>
How would I do that in Java?
13:10
< abudhabi>
Would I need to define a class that matches the structure of the JSON data?
13:16
<&ToxicFrog>
abudhabi: I've never used a Java JSON parser, but probably you end up with a Map<String, JSONNode> where each node is either another map or a leaf value.
13:28
<@[R]>
It'd depend on the API honestly
13:31
< abudhabi>
Gson?
15:43 Meatyhandbag_ [sebastianfe@Nightstar-m9s.kqo.73.97.IP] has joined #code
15:44 Meatyhandbag [sebastianfe@Nightstar-803.59c.73.97.IP] has quit [Operation timed out]
15:45 Meatyhandbag [sebastianfe@Nightstar-fo8.59c.73.97.IP] has joined #code
15:47 Meatyhandbag_ [sebastianfe@Nightstar-m9s.kqo.73.97.IP] has quit [Ping timeout: 121 seconds]
15:52 Kindamoody|afk is now known as Kindamoody
15:56 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
15:57 kourbou_ is now known as kourbou
15:57 catadroid` [catalyst@Nightstar-ofja17.dab.02.net] has joined #code
16:00 catadroid [catalyst@Nightstar-nafmrq.dab.02.net] has quit [Ping timeout: 121 seconds]
16:45 catadroid` is now known as catadroid
16:55 abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [[NS] Quit: leaving]
17:01 abudhabi [abudhabi@Nightstar-vp4.39v.247.94.IP] has joined #code
17:01 celticminstrel [celticminst@Nightstar-uelp1m.dsl.bell.ca] has joined #code
17:01 mode/#code [+o celticminstrel] by ChanServ
17:18 catadroid [catalyst@Nightstar-ofja17.dab.02.net] has quit [The TLS connection was non-properly terminated.]
17:18 catadroid [catalyst@Nightstar-ofja17.dab.02.net] has joined #code
17:28
<@Wizard>
Depends on how you do it too
17:28
<@Wizard>
eg. Taking the request body as a HashMap<Object,Object> means you can do pretty good guessing and the children will either be the same or strings
17:28
<@Wizard>
Recursively
17:29
<@Wizard>
In Spring*
17:29
<@Wizard>
Why did I write "in Spring" and then remove it
17:29
<@Wizard>
I guess this is desktop programming though
17:37
<&ToxicFrog>
It's Java, it could be Android
17:38 Alek [omegaboot@Nightstar-03ja8q.il.comcast.net] has joined #code
17:38 mode/#code [+o Alek] by ChanServ
17:45
< abudhabi>
We make web applications. Being displayable in mobile devices is a priority, but we don't develop specifically for Android.
17:47
<&ToxicFrog>
Aah, so this is Java running on the backend, processing JS sent from the browser?
17:48
< abudhabi>
This specifically is me making a HTTP call to an external thing, getting a JSON string in a response, and trying to mangle that into Java objects.
17:49
<@celticminstrel>
Sounds like the other way around.
17:50
<@Wizard>
abudhabi: https://github.com/FasterXML/jackson
18:08 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
18:08 mode/#code [+o Checkmate] by ChanServ
19:06 catadroid [catalyst@Nightstar-ofja17.dab.02.net] has quit [Ping timeout: 121 seconds]
19:10 catadroid [catalyst@Nightstar-qoffk3.dab.02.net] has joined #code
19:26 khyperia [khyperia@Nightstar-6errt8.coppercore.net] has quit [Ping timeout: 121 seconds]
19:26 khyperia [khyperia@Nightstar-6errt8.coppercore.net] has joined #code
19:27 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Tip about keeping secrets: It's easier if you don't know them.]
19:36 Kindamoody is now known as Kindamoody|afk
20:53
<&McMartin>
jackson is the stuff for JSON<->Java, yeah
20:57 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
--- Log closed Tue Jun 16 21:12:54 2015
--- Log opened Tue Jun 16 21:13:14 2015
21:13 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
21:13 Irssi: #code: Total of 39 nicks [25 ops, 0 halfops, 0 voices, 14 normal]
21:13 mode/#code [+o TheWatcher] by ChanServ
21:13 Irssi: Join to #code was synced in 36 secs
21:17 Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [Connection closed]
21:18 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
21:18 mode/#code [+ao Reiver Reiver] by ChanServ
21:31 Kindamoody|afk is now known as Kindamoody
22:17 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
22:17 mode/#code [+o Vash] by ChanServ
22:28 catadroid` [catalyst@Nightstar-tksvq7.dab.02.net] has joined #code
22:30 catadroid [catalyst@Nightstar-qoffk3.dab.02.net] has quit [Ping timeout: 121 seconds]
22:38 Kindamoody is now known as Kindamoody[zZz]
22:50 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code
22:50 mode/#code [+o Checkmate] by ChanServ
23:06 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:36 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:36 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:50 catadroid` is now known as catadroid
--- Log closed Wed Jun 17 00:00:10 2015
code logs -> 2015 -> Tue, 16 Jun 2015< code.20150615.log - code.20150617.log >

[ Latest log file ]