pierpal has quit [Ping timeout: 250 seconds]
pierpal has joined #racket
notzmv has quit [Ping timeout: 245 seconds]
pierpal has quit [Read error: Connection reset by peer]
myier has joined #racket
odanoburu has quit [Quit: Connection closed for inactivity]
myier has quit [Client Quit]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
FreeFull has quit [Ping timeout: 246 seconds]
<
aidalgol>
How do you handle reading possibly invalid json?
<
aidalgol>
read-json does not appear to raise any sane errors.
<
hjek>
you tried string->jsexpr ?
<
hjek>
gives sane errors IMO
<
hjek>
or, do you have a specific example of some JSON that doesn't?
<
aidalgol>
ah, I want exn:fail:read?
<
aidalgol>
hjek: It just wasn't clear what exception predicate I should be using from the way the errors are display'd
ayerhart has quit [Quit: ayerhart]
ayerhart has joined #racket
hjek has quit [Quit: Leaving.]
pierpal has joined #racket
ayerhart has quit [Quit: ayerhart]
ayerhart has joined #racket
badkins has quit [Remote host closed the connection]
pie__ has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
pie_ has quit [Ping timeout: 268 seconds]
_whitelogger has joined #racket
_whitelogger has joined #racket
orivej has quit [Ping timeout: 250 seconds]
meepdeew has joined #racket
endformationage has quit [Quit: WeeChat 2.3]
jao has quit [Ping timeout: 244 seconds]
YuGiOhJCJ has joined #racket
dddddd has quit [Remote host closed the connection]
dmiles has quit [Ping timeout: 250 seconds]
_whitelogger has joined #racket
orivej has joined #racket
orivej has quit [Ping timeout: 250 seconds]
meepdeew has quit [Remote host closed the connection]
pierpal has quit [Remote host closed the connection]
davidl has quit [Ping timeout: 250 seconds]
ZombieChicken has quit [Ping timeout: 256 seconds]
iyzsong has joined #racket
orivej has joined #racket
<
aidalgol>
Is there something that is to jsexprs what sxpath is to sxml?
dmiles has joined #racket
<
aidalgol>
I guess a more precise question would be, is there a way to make nested hash-ref calls more readable?
<
aidalgol>
Threading macro?
<
aidalgol>
No, that wouldn't work
<
aidalgol>
nested-hash looks clearer to me, going by the examples.
<
aidalgol>
Although lenses look more powerful once things start getting complicated.
orivej has quit [Ping timeout: 240 seconds]
_whitelogger has joined #racket
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #racket
orivej has joined #racket
mzan has joined #racket
orivej has quit [Ping timeout: 240 seconds]
dddddd has joined #racket
jao has joined #racket
wingsorc has joined #racket
sagax has quit [Ping timeout: 246 seconds]
iyzsong has quit [Ping timeout: 240 seconds]
sagax has joined #racket
orivej has joined #racket
orivej has quit [Ping timeout: 240 seconds]
ayerhart has quit [Read error: Connection reset by peer]
ayerhart has joined #racket
davidl has joined #racket
dustyweb has quit [Ping timeout: 245 seconds]
davidl has quit [Quit: WeeChat 2.2]
davidl has joined #racket
ubLIX has joined #racket
Sgeo_ has joined #racket
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 252 seconds]
Sgeo_ has quit [Ping timeout: 250 seconds]
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 250 seconds]
jao has quit [Ping timeout: 268 seconds]
orivej has joined #racket
endformationage has joined #racket
ZombieChicken has joined #racket
ubLIX has quit [Quit: *cackles*]
pierpal has joined #racket
orivej has quit [Ping timeout: 258 seconds]
davidl has quit [Ping timeout: 268 seconds]
davidl has joined #racket
sudden has quit [Quit: leaving]
sudden has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 250 seconds]
dddddd has quit [Ping timeout: 245 seconds]
FreeFull has joined #racket
dddddd has joined #racket
orivej has joined #racket
badkins has joined #racket
pie__ has quit [Ping timeout: 258 seconds]
jao has joined #racket
libertyprime has joined #racket
ubLIX has joined #racket
orivej has quit [Ping timeout: 246 seconds]
hjek has joined #racket
meepdeew has joined #racket
orivej has joined #racket
hjek has quit [Quit: Leaving.]
Sgeo has joined #racket
Sgeo__ has quit [Ping timeout: 240 seconds]
pie__ has joined #racket
davidl has quit [Quit: WeeChat 2.2]
davidl has joined #racket
ubLIX has quit [Ping timeout: 246 seconds]
ubLIX has joined #racket
mzan has quit [Ping timeout: 258 seconds]
lavaflow has quit [Read error: No route to host]
lavaflow has joined #racket
lavaflow has quit [Read error: Connection reset by peer]
lavaflow has joined #racket
massimo_zaniboni has joined #racket
massimo_zaniboni is now known as mzan
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 272 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 246 seconds]
wingsorc has quit [Ping timeout: 268 seconds]
wingsorc_ has joined #racket
wingsorc_ has quit [Client Quit]
wingsorc_ has joined #racket
wingsorc_ is now known as wingsorc
libertyprime has quit [Ping timeout: 268 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]