Skip to main content

Timeline for Print some JSON

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Oct 25, 2016 at 14:33 history edited Kevin Cruijssen CC BY-SA 3.0
Added Java 8 answer
Oct 25, 2016 at 9:31 history edited Kevin Cruijssen CC BY-SA 3.0
deleted 4 characters in body
Oct 25, 2016 at 9:31 comment added Olivier Grégoire Oh, my mistake, I didn't check.
Oct 25, 2016 at 9:30 history edited Kevin Cruijssen CC BY-SA 3.0
deleted 264 characters in body
Oct 25, 2016 at 9:30 comment added Kevin Cruijssen @OlivierGrégoire Ok, I'll remove the this code. As for the "" with 1e7, that won't work unfortunately. 1e6 outputs 1000000.0, but 1e7 outputs 1.0E7 instead.
Oct 25, 2016 at 9:25 comment added Olivier Grégoire Also, you can golf 1 byte by using "" as key and 1e7 as value. "" is a valid key when tried in the validator.
Oct 25, 2016 at 9:19 comment added Olivier Grégoire "length varies between 15 and 16 depending on the hash". Hashes can technically have a length as small as 1 (see System.identityHashCode(Object)).
Oct 25, 2016 at 8:33 comment added Kevin Cruijssen @Numberknot Fixed and added to the test code
Oct 25, 2016 at 8:33 history edited Kevin Cruijssen CC BY-SA 3.0
added 165 characters in body
Oct 25, 2016 at 8:28 comment added Numberknot Second solution gives an error
Oct 25, 2016 at 8:26 history edited Kevin Cruijssen CC BY-SA 3.0
added 110 characters in body
Oct 25, 2016 at 8:05 history answered Kevin Cruijssen CC BY-SA 3.0