# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #127723] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127723 >
<masak> m: from-json("42") <camelia> rakudo-moar ad1928: OUTPUT«Invalid JSON: 42 [...] <masak> this seems to be counter to ECMA-404: "A JSON text is a sequence of tokens formed from Unicode code points that conforms to the JSON value grammar." <masak> http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf <masak> in other words, it's not just about objects and arrays; numbers, strings, `true`, `false`, and `null` are also valid JSON documents * masak submits rakudobug