feat: add decoder
This commit is contained in:
parent
d8993f2ebc
commit
e456845b9a
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env -S guile -s
|
||||
!#
|
||||
(use-modules (json) (toml) (ice-9 match) (ice-9 pretty-print) (ice-9 textual-ports))
|
||||
|
||||
(define str (get-string-all (current-input-port)))
|
||||
(define scm (toml->scm str))
|
||||
|
||||
(pretty-print scm)
|
||||
|
||||
;; (define json (scm->json scm #:pretty #t))
|
Loading…
Reference in New Issue